Skip to content

Commit

Permalink
App is Dockerized
Browse files Browse the repository at this point in the history
  • Loading branch information
talented committed Jul 17, 2019
1 parent b5dc79c commit 8551635
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

1. Clone the repo

`git clone https://github.com/talented/Sales-Records-API.git`
git clone https://github.com/talented/Sales-Records-API.git

2. Run

`docker-compose up --build`
docker-compose up --build

3. !!! without stopping the running server open a new tab in your terminal and run commands below to populate the postgresql database in your running container with the data from "2000_Sales_Records.csv" under pgdata folder
3. Without stopping the running server open a new tab in your terminal and run commands below to populate the postgresql database in your running container with the data from "2000_Sales_Records.csv" under pgdata folder

`docker cp init.sql apitest_db_1:/docker-entrypoint-initdb.d/init.sql`

Expand Down

0 comments on commit 8551635

Please sign in to comment.