{"id":16417443,"url":"https://github.com/appliku/drf_openapi3_tutorial","last_synced_at":"2025-10-26T20:30:38.379Z","repository":{"id":53824091,"uuid":"518485287","full_name":"appliku/drf_openapi3_tutorial","owner":"appliku","description":"Django application with DRF and drf-spectacular for tutorial https://appliku.com/post/django-rest-framework-openapi-3","archived":false,"fork":false,"pushed_at":"2022-07-29T06:19:27.000Z","size":73,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-11T07:12:25.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appliku.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-27T14:10:53.000Z","updated_at":"2022-08-13T14:48:24.000Z","dependencies_parsed_at":"2022-08-21T14:00:34.005Z","dependency_job_id":null,"html_url":"https://github.com/appliku/drf_openapi3_tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appliku%2Fdrf_openapi3_tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appliku%2Fdrf_openapi3_tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appliku%2Fdrf_openapi3_tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appliku%2Fdrf_openapi3_tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appliku","download_url":"https://codeload.github.com/appliku/drf_openapi3_tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238394323,"owners_count":19464583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T07:11:30.762Z","updated_at":"2025-10-26T20:30:33.061Z","avatar_url":"https://github.com/appliku.png","language":"Python","readme":"# SpeedPyCom Starter Template\n\n## Quickstart\n\nThis is the starter template for SpeedPyCom and you can edit any file you want.\n\nTo update the SpeedPyCom you need to update the requirements.txt file to have the most recent speedpycom package.\n\nhttps://pypi.org/project/speedpycom/\n\n### Get the template and start work\n\nFor local development you should have Docker instance running locally. Read more about docker-compose.yml down the\ndocument.\n\n```bash\ncurl -sSL https://gitlab.com/speedpycom/speedpycom-start/-/archive/main/speedpycom-start-main.zip \u003e speedpycom-start-main.zip\nunzip speedpycom-start-main.zip\n\n\nmv speedpycom-start-main myproject\ncd myproject\ncp start.env .env\n\n```\n\n\nApply migrations with:\n\n```bash\ndocker-compose run web python manage.py migrate\n```\n\nCreate a superuser account:\n\n```bash\ndocker-compose run web python manage.py makesuperuser\n```\n\nThe output of the last command will display the login and password for the admin user that was created, like this:\n\n```\nadmin user not found, creating one\n===================================\nA superuser was created with email admin@example.com and password xLV9i9D7p8bm\n===================================\n```\n\nInstall tailwind dependencies and build it:\n\n```bash\ndocker-compose run web python manage.py tailwind install\ndocker-compose run web python manage.py tailwind build\n```\n\nRun the project with:\n\n```bash\ndocker-compose up\n```\n\n\nOpen [http://0.0.0.0:8060/admin/](http://0.0.0.0:8060/admin/) and login with these credentials.\n\n## Docker-Compose.yml for local development\n\nThis template implies using Docker for local development.\n\nIf you don't have Docker installed go\nto [https://www.docker.com/products/docker-desktop](https://www.docker.com/products/docker-desktop) and follow\ninstallation instructions for your OS.\n\n`docker-compose.yml` file has a number of services defined to run the project.\n\nTo reduce the initial resource usage on your machine only few of them are uncommented and will be used:\n\n- `redis`\n- `db`\n- `web`\n\nIf you need Celery - uncomment all lines for the `celery` service.\n\nSame way, if you need Celery Scheduler – uncomment `celery-beat` service.\n\nFlower (celery monitoring) is also included, uncomment `flower` service in order to have it running.\n\nFor the purpose of using less resource of your machine Redis is used for Celery broker by default.\nYou can easily switch to using RabbitMQ by uncommenting `rabbitmq` service and `rabbitmq` in all services' `links`\nand `depends_on` sections. Then in `.env` change the broker setting to this: `CELERY_BROKER_URL=amqp://speedpycom:speedpycom@rabbitmq/speedpycom` and `docker-compose restart` so the new settings are\napplied.\n\n## Dockerfile\n\nDocker file includes both Python and Node so you can have JS compilers, minifiers and use `django-tailwind` that is included into this template.\n\n\n## Deployment\n\nIn order to deploy the project on [https://Appliku.com](https://Appliku.com) we have included the `Procfile` with commands needed to run your project.\n\n\n## User model\n\nProject template comes with a custom user model in the app `usermodel`.\n\n## Tailwind\n\nRun `docker-compose run web python manage.py tailwind install` to install node dependencies to run tailwind.\n\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappliku%2Fdrf_openapi3_tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappliku%2Fdrf_openapi3_tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappliku%2Fdrf_openapi3_tutorial/lists"}