Skip to content

Commit

Permalink
Merge pull request #43 from LINCnil/update_readme2
Browse files Browse the repository at this point in the history
Improve README file
  • Loading branch information
brunto authored Nov 20, 2018
2 parents f8274f1 + 6663d61 commit 2483445
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,22 @@ Also, you need to create a new user with password.
### Clone the repository
`git clone https://github.com/atnos/pia-back.git`

### Go to the folder pia-back
`cd pia-back`

### Create and fill the file database.yml
`cp config/database.example.yml config/database.yml`

Fill the fields `username` and `password` with the PostgreSQL username and password created in the previous step.
Fill the fields `username` and `password` for each environment with the PostgreSQL username and password created in the step "PostgreSQL installation".

### Install all dependencies
`bundle install`

### Create and fill the file application.yml
`cp config/application.example.yml config/application.yml`

Generate the SECRET_KEY_BASE with: `bin/rake secret` and paste the secret key in the file.

### Install all dependencies
`bundle install`

### Create database
`bin/rake db:create`

Expand Down

0 comments on commit 2483445

Please sign in to comment.