Skip to content

Commit 0511d9f

Browse files
committed
update dependencies
1 parent 3892770 commit 0511d9f

File tree

8 files changed

+43
-59
lines changed

8 files changed

+43
-59
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ deploy_live:
88
script:
99
- sudo /bin/rm -rf /home/peeljobs/peeljobs/; cp -r . /home/peeljobs/peeljobs
1010
- source /home/peeljobs/env/bin/activate
11-
- pip install -r /home/peeljobs/peeljobs/requirements.txt
11+
- pip install pipenv
12+
- pipenv install
1213
- python /home/peeljobs/peeljobs/manage_server.py migrate --noinput
1314
- sudo /usr/bin/supervisorctl restart all
1415
tags:

.runcode.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ onCreate:
2020
. ../venv/bin/activate
2121
cp ENV.md .env
2222
pip install -U pip
23-
pip install -r requirements.txt
23+
pip install pipenv
24+
pipenv install
2425
python manage.py migrate
2526
python manage.py loaddata industries
2627
python manage.py loaddata qualification

.travis.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ env:
1919
-Django==2.2.8 DB=postgresql
2020

2121
install:
22-
- pip install -r requirements.txt
22+
- pip install pipenv
23+
- pipenv install
2324

2425
#new
2526
#creating a database

Pipfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ django-compressor = "==4.1"
1717
django-cors-headers = "==3.13.0"
1818
django-debug-toolbar-template-profiler = "==2.1.0"
1919
django-haystack = "==3.2.1"
20-
django-ses = "==3.1.2"
20+
django-ses = "==4.4.0"
2121
django-ses-gateway = "==0.1.1"
2222
django-tellme = {git = "https://github.com/ludrao/django-tellme"}
2323
elasticsearch = "==7.17.6"
@@ -26,21 +26,21 @@ prospector = "==1.7.7"
2626
psycopg2-binary = "==2.9.3"
2727
python-dotenv = "==0.21.0"
2828
python-memcached = "==1.59"
29-
redis = "==4.3.4"
29+
redis = "==5.2.1"
3030
sorl-thumbnail = "==12.9.0"
3131
twython = "==3.9.1"
3232
dj-rest-auth = "==2.2.5"
3333
pyjwt = "==2.5.0"
34-
djangorestframework = "==3.14.0"
35-
djangorestframework-simplejwt = "==5.2.0"
36-
sentry-sdk = "==1.9.8"
34+
djangorestframework = "==3.15.2"
35+
djangorestframework-simplejwt = "==5.5.0"
36+
sentry-sdk = "==2.22.0"
3737
pip-check = "==2.7"
3838
flake8-polyfill = "==1.0.2"
3939
django-pymemcache = "==1.0.0"
4040
contextlib2 = "==21.6.0"
4141
django-blog-it = "==0.3.1"
4242
django-endless-pagination = "==2.0"
43-
gunicorn = "==20.1.0"
43+
gunicorn = "==23.0.0"
4444
jsonpickle = "==2.2.0"
4545
lockfile = "==0.12.2"
4646
olefile = "==0.46"

Pipfile.lock

Lines changed: 25 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ add the following to your path
6969
##### Install requirements
7070

7171
```bash
72-
pip install -r requirements.txt
72+
pipenv install
7373
```
7474

7575
For env variables, refer to env.md in source directory and you need to create a .env file to keep all env variables with their respective values.

docs/source/setup/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ Configuration of Peeljobs
6868
sudo apt-get update
6969
sudo apt install nodejs
7070
npm install -g sass
71-
pip install -r requirements.txt
71+
pip install pipenv
72+
pipenv install
7273

7374

7475
9. We used postgressql here open shell and create the following database

entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22
ls /home/peeljobs
3-
pip3 install -r /home/peeljobs/requirements.txt
3+
pip3 install pipenv
4+
cd /home/peejobs
5+
pipenv install
46
python3 /home/peeljobs/manage.py migrate
57
python3 /home/peeljobs/manage.py runserver

0 commit comments

Comments
 (0)