- Go to the Tasks directory.
- Create virtual environment: python -m venv venv_name.
- Activate virtual environment: source venv/bin/activate (Linux/Mac), venv\Scripts\activate (Windows).
- Install the required dependencies: pip install -r requirements.txt.
- Prepare your MySQL database: install mysql server directly or via docker, create user, database, grant permission to user. (or just use sqlite3 instead).
- Create .env file in the Tasks directory for storing sensitive data, copy all variables from env_example.txt to .env and assign your data.
- Run django management command: python manage.py migrate.
- Run tests: python manage.py test.
- You are ready to go, run python manage.py runserver to be able to access all endpoints.
- Visit localhost:8000/swagger/ to see all available endpoints.
-
Notifications
You must be signed in to change notification settings - Fork 0
Georg1703/Tasks
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published