Skip to content

Commit 9694bd1

Browse files
committed
divide requirements into base, dev and prod
1 parent 7bb8fe6 commit 9694bd1

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

requirements.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
Django==1.9.8
2-
mysqlclient==1.3.10
1+
# This file is here because many Platforms as a Service look for
2+
# requirements.txt in the root directory of a project.
3+
-r requirements/prod.txt

requirements/base.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Django==1.9.8
2+
mysqlclient==1.3.10

requirements/dev.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Local development dependencies go here
2+
-r base.txt

requirements/prod.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Pro-tip: Try not to put anything here. There should be no dependency in
2+
# production that isn't in development.
3+
-r base.txt

0 commit comments

Comments
 (0)