Build an image editing app powered by Django
myPhotoApp is an image editing app allowing you to add different effects to your awesome image making it "awesomer"
- Sign in with facebook
- Apply up to 5 effects to your image
- Share your images with your friends on facebook
- View all uploaded images on screens larger than 992px (Desktop)
- Responsive design
- Language: Python
- Framework: Django
- Database: PostgreSQL
- Social Authentication: Python Social Auth
- Asynchronous rendering: AJAX
- Image filtering: Pillow
- Frontend framework: Materialize
- Frontend dependencies manager: Bower
- Clone the repository into a Virtual Environment.
- Run
virtualenv <virtualenvname>
ormkvirtualenv <virtualenvname>
if using virtualenv wrapper to create the virtual environment.
- Install all the necessary requirements by running
pip install -r requirements.txt
within the virtual environment. - Configure your database configurations in a development.py and save in the settings folder
- Create a .env.yml to hold all your environment variables, like your secret key, save in the same level as your README.md file (sample shown below)
- Run
bower install
to install all front end dependencies. Please ensure you are on the same level with .bowerrc when you run this command - Run
python manage.py collectstatic
to copy all your static files into the staticfiles directory - Run
python manage.py makemigrations
andpython manage.py migrate
to create the necessary tables and everything required to run the application. - Run
python manage.py runserver
to run the app. - Send a request to be added as a collaborator to the facebook app to use facebook login or create your facebook app
- Run coverage
coverage run manage.py test
to know how much the app is covered by automated testing. - View the report of the coverage on your terminal
coverage report
. - Produce the html of coverage result
coverage html
.
SECRET_KEY:
"sample_key"
Need to see the app for yourself? myPhotoApp