Skip to content

blessingoraz/photo-editing-application

 
 

Repository files navigation

#Django Powered Photo Editing Application Circle CI Coverage Status

Challenge

Build an image editing app powered by Django

Description

imagEditor is an image editing app allowing you to add different effects to your awesome image making it "cooler"

Features
  • 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
  • Live Edit of the image title
  • Real time search of your uploaded image

Dependencies

Installation

  1. Clone the repository into a Virtual Environment.
  • Run virtualenv <virtualenvname> or mkvirtualenv <virtualenvname> if using virtualenv wrapper to create the virtual environment.
  1. Install all the necessary requirements by running pip install -r requirements.txt && npm install && bower install && webpack -p within the virtual environment.
  2. Configure your database configurations in a development.py and save in the settings folder
  3. 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)
  4. Run bower install to install all front end dependencies. Please ensure you are on the same level with .bowerrc when you run this command
  5. Run python image_editor/manage.py collectstatic to copy all your static files into the staticfiles directory
  6. Run python image_editor/manage.py makemigrations and python manage.py migrate to create the necessary tables and everything required to run the application.
  7. Run python manage.py runserver to run the app.
  8. Send a request to be added as a collaborator to the facebook app to use facebook login or create your facebook app
  9. Run coverage coverage run --source="imageditor" image_editor/manage.py test image_editor to know how much the app is covered by automated testing.
  10. View the report of the coverage on your terminal coverage report.
  11. Produce the html of coverage result coverage html.

Sample .env.yml format

SECRET_KEY:
    "43&&)c$kur=o%eym=im^zftcu9po6-e=5r8$jk#u4t+6q&t%c8"
FB_ID:
    "your facbeoook app id"
    ````

## imagEditor
Need to see the app for yourself?
[imagEditor](http://imageditor.herokuapp.com)

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 35.9%
  • CSS 34.5%
  • Python 26.4%
  • HTML 3.2%