Skip to content

Commit

Permalink
Really start backend first?
Browse files Browse the repository at this point in the history
  • Loading branch information
oktaal committed Jul 18, 2024
1 parent 4e4c4ac commit 47d3299
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ jobs:
yarn
yarn django migrate
# start the backend first for the SSR
yarn start-p &
yarn start-back-p &
sleep 10
yarn static-p
find static
chromedriver --version
yarn test
3 changes: 2 additions & 1 deletion {{cookiecutter.slug}}/.github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ jobs:
yarn
yarn django migrate
# start the backend first for the SSR
yarn start-p &
yarn start-back-p &
sleep 10
yarn static-p
find static
chromedriver --version
yarn test
1 change: 0 additions & 1 deletion {{cookiecutter.slug}}/package.angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"watch-back": "yarn livereload-back & yarn watch-test-back",
"start": "yarn start-front & yarn start-back & yarn watch-back",
"build": "yarn front yarn build",
"build-p": "yarn build",
"collectstatic-p": "cd backend && python manage.py collectstatic --noinput -v 0 --settings collect --pythonpath ..",
"clean-static": "rm -rf static || rd /S /Q static",
"static-p": "yarn build && yarn clean-static && yarn collectstatic-p",
Expand Down

0 comments on commit 47d3299

Please sign in to comment.