Skip to content

Commit 91d6611

Browse files
committed
Update README, Dockerfile and install.sh
Specify the type of requirements to be used in each.
1 parent 16863a6 commit 91d6611

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ USER root
4141

4242
RUN export DATABASE_URL=postgresql://open_event_user:start@localhost:5432/test
4343
#install dependencies
44-
RUN pip install -r requirements.txt
44+
RUN pip install -r requirements/prod.txt
4545
#create db
4646
RUN python create_db.py
4747
#set environment

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Now you are inside a synced up copy of the project directory. if you do `ls`, th
9292
* Before running the app , install the requirements from
9393
requirements.txt .
9494
```
95-
pip install -r requirements.txt
95+
pip install -r requirements/dev.txt
9696
```
9797
* Time to run the app, if the DB migrations went well, then doing this will be okay
9898
```

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export DATABASE_URL=postgresql://$APP_DB_USER:$APP_DB_PASS@localhost:5432/$APP_D
114114
cd /vagrant
115115
#Flask
116116
echo "Installing requirements"
117-
pip install -r requirements.txt
117+
pip install -r requirements/dev.txt
118118

119119
python create_db.py
120120

0 commit comments

Comments
 (0)