improve Readme
This commit is contained in:
25
README.md
25
README.md
@@ -1,17 +1,20 @@
|
||||
# web
|
||||
|
||||
# MarketAlert
|
||||
|
||||
The purpose of this project is to build a web application that enables subscribing to notifications when new products are published on various ad based marketplaces. The MVP will be only based on OLX.ba
|
||||
|
||||
Create postgres docker image
|
||||
docker build -t marketalerts .
|
||||
###Setup
|
||||
|
||||
Run postgres image with:
|
||||
docker run --name pg_test -d -p 5432:5432 marketalerts
|
||||
1. Create postgres docker image
|
||||
`docker build -t marketalerts .`
|
||||
|
||||
Run migrations in app folder
|
||||
npx sequelize db:migrate
|
||||
2. Run postgres image with
|
||||
`docker run --name pg_marketalerts -d -p 5432:5432 marketalerts`
|
||||
|
||||
Run app with:
|
||||
$ npm install
|
||||
$ npm start
|
||||
3. Install packages
|
||||
`npm install`
|
||||
|
||||
4. Run migrations from `app` folder
|
||||
`npx sequelize db:migrate`
|
||||
|
||||
5. Run app
|
||||
`npm start`
|
||||
|
||||
Reference in New Issue
Block a user