Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jul 4, 2024
1 parent a78d60c commit cf453eb
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions scripts/setup
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#!/bin/bash
set -e

cd "${BASH_SOURCE%/*}"
# cd "${BASH_SOURCE%/*}/.."

# export SERVICE_NAME="replace-me"
echo $SERVICE_NAME
pipenv install --dev
pipenv run python manage.py migrate --noinput
pipenv run python manage.py load_fixtures api
pipenv run python manage.py collectstatic --noinput --clear

# pipenv install --dev
# pipenv run python ../manage.py migrate --noinput
# pipenv run python ../manage.py load_fixtures api
# pipenv run python ../manage.py collectstatic --noinput --clear

# wget -O - https://raw.githubusercontent.com/ocadotechnology/codeforlife-template-backend/backend_template/scripts/setup | bash
# wget -O - https://raw.githubusercontent.com/ocadotechnology/codeforlife-template-backend/backend_template/scripts/setup | SERVICE_NAME=replace-me bash

0 comments on commit cf453eb

Please sign in to comment.