improve Readme

This commit is contained in:
Bilal Catic
2019-05-16 17:12:17 +02:00
parent e5eb6b99a2
commit 616eddbb19

View File

@@ -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`