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 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 ###Setup
docker build -t marketalerts .
Run postgres image with: 1. Create postgres docker image
docker run --name pg_test -d -p 5432:5432 marketalerts `docker build -t marketalerts .`
Run migrations in app folder 2. Run postgres image with
npx sequelize db:migrate `docker run --name pg_marketalerts -d -p 5432:5432 marketalerts`
Run app with: 3. Install packages
$ npm install `npm install`
$ npm start
4. Run migrations from `app` folder
`npx sequelize db:migrate`
5. Run app
`npm start`