Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ NODE_ENV=development
NODE_PORT=3001
NODE_HOST=localhost

HOST_ADDRESS=localhost
HOST_ADDRESS=http://localhost:3001

DB_DIALECT=postgres
DB_HOST=localhost
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ following next steps:

1. Navigate to the root of the project
2. Run `yarn` to install dependencies
3. Setup the postgres database
3. Setup the postgres database: `createdb <your_database_name>`
4. In the root of the project, create `.env` file
5. Fill the `.env` file, example of the values can
be copied from the `.env.example` file (NOTE: All values should be filled)
Expand All @@ -32,8 +32,7 @@ following next steps:
- Windows: `yarn windows:migrate`
- Mac/Linux: `yarn migrate`
8. Run seeders
- Windows: `yarn windows:seed`
- Mac/Linux: `yarn seed`
`sequelize db:seed:all`
Comment thread
mmagician marked this conversation as resolved.
Outdated
9. After everything has been completed, to run the
app, use the `yarn dev` command for dev environment
or `yarn start` for production build
Expand Down