Skip to content

Commit

Permalink
Merge pull request naveteam#80 from naveteam/docs/add-redis-steps-readme
Browse files Browse the repository at this point in the history
docs: add steps to run redis on readme
  • Loading branch information
rodsguilherme authored Sep 14, 2021
2 parents 8217c14 + 8cc394e commit 30da648
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ A boilerplate for building RESTful APIs using Node.js, PostgreSQL, koa, knex, ob
4. Change DATABASE_URL to postgress://`user`:`password`@`localhost`/`database`
5. Run migrations: `yarn db:migrate`
6. Run seeds: `yarn db:seed`
7. Run `yarn start` or `yarn dev` to start server

7. Install [Docker](https://docs.docker.com/engine/install/)

- Pull redis: `docker pull redis`
- Create image: `docker run --name your-image-name -d redis`
- Start redis: `docker start your-image-name`

8. Run `yarn start` or `yarn dev` to start server

## Testing

Expand Down

0 comments on commit 30da648

Please sign in to comment.