File tree Expand file tree Collapse file tree 3 files changed +6
-17
lines changed Expand file tree Collapse file tree 3 files changed +6
-17
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
- cd " ${BASH_SOURCE%/* } "
4
+ cd " ${BASH_SOURCE%/* } /.. "
5
5
6
- rm -f ../Pipfile.lock
7
- shopt -s extglob
8
- rm -rf ../.venv/! (" .gitkeep" )
9
- shopt -u extglob
10
- pipenv install --dev
6
+ wget -O - https://raw.githubusercontent.com/ocadotechnology/codeforlife-workspace/main/scripts/backend/hard-install | bash
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
- cd " ${BASH_SOURCE%/* } "
4
+ cd " ${BASH_SOURCE%/* } /.. "
5
5
6
- source ./setup
7
-
8
- pipenv run python ../manage.py runserver localhost:8000
6
+ wget -O - https://raw.githubusercontent.com/ocadotechnology/codeforlife-workspace/main/scripts/backend/run | SERVICE_NAME=replace-me bash
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
- # cd "${BASH_SOURCE%/*}/.."
4
+ cd " ${BASH_SOURCE%/* } /.."
5
5
6
- pipenv install --dev
7
- pipenv run python manage.py migrate --noinput
8
- pipenv run python manage.py load_fixtures api
9
- pipenv run python manage.py collectstatic --noinput --clear
10
-
11
- # wget -O - https://raw.githubusercontent.com/ocadotechnology/codeforlife-template-backend/backend_template/scripts/setup | SERVICE_NAME=replace-me bash
6
+ wget -O - https://raw.githubusercontent.com/ocadotechnology/codeforlife-workspace/main/scripts/backend/setup | SERVICE_NAME=replace-me bash
You can’t perform that action at this time.
0 commit comments