Skip to content

Commit

Permalink
🔥 [maykinmedia/objects-api#408] remove docker-compose-quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
annashamray committed May 31, 2024
1 parent 07c57b2 commit 3e0a938
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/quick_start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
19 changes: 0 additions & 19 deletions docker-compose-quickstart.yml

This file was deleted.

1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
image: redis

web:
image: maykinmedia/objecttypes-api:latest
build: .
environment: &app-env
- DJANGO_SETTINGS_MODULE=objecttypes.conf.docker
Expand Down

0 comments on commit 3e0a938

Please sign in to comment.