mendyk-ja/DRF_API
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
1. Install pip first sudo apt-get install python3-pip 2. Then install virtualenv using pip3 sudo pip3 install virtualenv 3. Now create a virtual environment virtualenv venv 4. Active your virtual environment: source venv/bin/activate 5. Copy source code into directions, which contains virtual environment. 6. Install requirements pip install -r /path/to/requirements.txt 7. Make migrations python manage.py makemigrations snippets python manage.py migrate 8. Create superuser python manage.py createsuperuser 9. Start project server and log in with your credentials. python manage.py runserver 10. Go to http://127.0.0.1:8000/images/ and you are ready to create thumbnails.