Skip to content

Commit cf453eb

Browse files
committed
test
1 parent a78d60c commit cf453eb

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

scripts/setup

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
#!/bin/bash
22
set -e
33

4-
cd "${BASH_SOURCE%/*}"
4+
# cd "${BASH_SOURCE%/*}/.."
55

6-
# export SERVICE_NAME="replace-me"
7-
echo $SERVICE_NAME
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
810

9-
# pipenv install --dev
10-
# pipenv run python ../manage.py migrate --noinput
11-
# pipenv run python ../manage.py load_fixtures api
12-
# pipenv run python ../manage.py collectstatic --noinput --clear
13-
14-
# wget -O - https://raw.githubusercontent.com/ocadotechnology/codeforlife-template-backend/backend_template/scripts/setup | bash
11+
# wget -O - https://raw.githubusercontent.com/ocadotechnology/codeforlife-template-backend/backend_template/scripts/setup | SERVICE_NAME=replace-me bash

0 commit comments

Comments
 (0)