-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔥 [maykinmedia/objects-api#408] remove docker-compose-quickstart
- Loading branch information
1 parent
07c57b2
commit 6cfd067
Showing
3 changed files
with
6 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download docker-compose file | ||
run: wget https://raw.githubusercontent.com/maykinmedia/objecttypes-api/master/docker-compose-quickstart.yml -O docker-compose-qs.yml | ||
run: wget https://raw.githubusercontent.com/maykinmedia/objecttypes-api/master/docker-compose.yml | ||
- name: Start docker containers | ||
run: docker-compose -f docker-compose-qs.yml up -d | ||
run: docker compose up -d --no-build | ||
- name: Wait until DB container starts | ||
run: sleep 10 | ||
- name: Load fixtures | ||
run: docker-compose -f docker-compose-qs.yml exec -T web src/manage.py loaddata demodata | ||
run: docker compose exec -T web src/manage.py loaddata demodata | ||
- name: Create superuser | ||
run: docker-compose -f docker-compose-qs.yml exec -T web src/manage.py createsuperuser --username admin --email [email protected] --no-input | ||
run: docker-compose exec -T web src/manage.py createsuperuser --username admin --email [email protected] --no-input | ||
- name: Check main page | ||
run: | | ||
curl_status=$(curl -w '%{http_code}' -o /dev/null -s http://localhost:8001/) | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters