Skip to content

sheeshmohsin/dodjapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DoDjApp

Image upload sample API with lossless compression using task queue processing

This Project uses Sqlite3 as database.

Getting up and running

The steps below will get you up and running with a local development environment. We assume you have the following installed:

  • pip
  • virtualenv

First make sure to create and activate a virtualenv, then open a terminal at the project root and install the requirements for local development:

$ pip install -r requirements.txt

Run django migrations command for creating table:

$ python manage.py migrate

You can now run the usual Django runserver command (replace yourapp with the name of the directory containing the Django project):

$ python manage.py runserver

For queue service, its needed to setup redis-server and start the redis server on port 6379.

Start celery worker and beat

$ celery -A dodjapp worker --beat -l info

Testing

For testing, you can use these commands:

$ python manage.py test

For panapp test, you can use this:

$ python manage.py test imgapp

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages