Skip to content

Commit 3f12982

Browse files
committed
Add multiple requirements files
1 parent 55d207d commit 3f12982

File tree

5 files changed

+23
-15
lines changed

5 files changed

+23
-15
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ $ touch .env
1111
$ cp .env.template .env
1212
```
1313

14-
14+
## Development
1515
### Pip
1616
```shell
1717
$ python -m venv venv_djangoeye
1818
$ source venv_djangoeye/bin/activate
19-
$ pip install -r requirements.txt
19+
$ pip install -r requirements/development.txt
2020
```
2121

22-
### Pipenv
22+
### Pipenv (It will install all packages)
2323
```shell
2424
$ pipenv install
2525
$ pipenv shell

requirements.txt

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1 @@
1-
asgiref==3.4.1
2-
dj-database-url==0.5.0
3-
dj-email-url==1.0.2
4-
Django==3.2.5
5-
django-cache-url==3.2.3
6-
django-debug-toolbar==3.2.1
7-
environs==9.3.2
8-
marshmallow==3.12.2
9-
psycopg2-binary==2.9.1
10-
python-dotenv==0.18.0
11-
pytz==2021.1
12-
sqlparse==0.4.1
1+
-r requirements/production.txt

requirements/base.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
asgiref==3.4.1
2+
Django==3.2.5
3+
pytz==2021.1
4+
sqlparse==0.4.1
5+
6+
psycopg2-binary==2.9.1
7+
8+
django-cache-url==3.2.3
9+
environs==9.3.2
10+
marshmallow==3.12.2
11+
python-dotenv==0.18.0
12+
dj-database-url==0.5.0
13+
dj-email-url==1.0.2

requirements/development.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-r base.txt
2+
3+
pipdeptree==2.0.0
4+
5+
django-debug-toolbar==3.2.1

requirements/production.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-r base.txt

0 commit comments

Comments
 (0)