Skip to content

An API built with Django Rest Framework, which creates a thumbnail from a photo user provides.

Notifications You must be signed in to change notification settings

mendyk-ja/DRF_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

An API built with Django Rest Framework, which creates a thumbnail from a photo user provides.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages