Update README.md

This commit is contained in:
Tuomo Torppa
2017-10-30 12:08:45 +02:00
committed by GitHub
parent e6a5f19434
commit a45e61c818
+8 -6
View File
@@ -11,19 +11,19 @@ Then create user tkt_oodi and database tk_oodi from dump.sql file by following t
Run:
`psql postgres`
`sudo su postgres`
`psql`ä
After this you should be working as:
`postgres=#`
Then run the following commands:
Then contact admin to get the password and run the following commands:
```
CREATE USER tkt_oodi WITH PASSWORD 'insertPasswordHere';
CREATE DATABASE tkt_oodi;
GRANT ALL PRIVILEGES ON DATABASE tkt_oodi TO tkt_oodi;
\q
```
Now put the dump data to the tkt_oodi db:
@@ -44,7 +44,9 @@ https://redis.io/topics/quickstart
Install nodejs and npm
https://nodejs.org/en/download/
Run in the root of the project:
Clone the repository and install the packages in the root of the project:
`git clone git@github.com:UniversityOfHelsinkiCS/oodikone2-backend.git`
`npm install`
@@ -54,6 +56,6 @@ Run `npm start`
Check in your browser for
http://localhost:8080/ping
http://localhost:8080/api/tags
And if you see "pong" you can congratulate yourself on succesfully installing OodiKone2 backend.
If you see a response you can congratulate yourself on succesfully installing and running OodiKone2 backend.