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
|
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`
|
||||||
|
|||||||
Reference in New Issue
Block a user