Skip to content

erika-dike/django-photo-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7532a57 · Nov 7, 2016

History

43 Commits
Oct 7, 2016
Oct 4, 2016
Nov 7, 2016
Nov 2, 2016
Sep 16, 2016
Oct 4, 2016
Oct 4, 2016
Nov 2, 2016
Oct 4, 2016
Oct 4, 2016
Sep 15, 2016
Oct 4, 2016
Nov 7, 2016
Oct 4, 2016
Oct 4, 2016
Nov 2, 2016
Oct 4, 2016
Nov 7, 2016
Nov 2, 2016
Nov 2, 2016
Oct 10, 2016
Nov 2, 2016
Nov 2, 2016
Nov 2, 2016

Repository files navigation

Build Status Coverage Status Scrutinizer Code Quality

django-photo-editor

Overview

Photomagick is a basic photo editing web application. It also allows users share their images on Facebook when they are satisfied with their creations. Read more on the PROJECTPLAN.md file located in the assets directory.

Pre-requisites

optional

Installation

Follow the steps below to install photomagick on your computer:

  1. Clone this repository to the folder where you would like it installed on your machine.

  2. In the project root, add a .env.yml file to hold all your environment variables. The variables below must be given a value

    SECRET_KEY:
      'very-complex-secret-key'
    DB_USER:
      'john_doee'
    DB_PASSWORD:
      'hidden'
    CLOUDINARY_CLOUD_NAME:
      'your-cloudinary-cloud-name'
    CLOUDINARY_API_KEY:
      'your-cloudinary-api-key'
    CLOUDINARY_API_SECRET:
      'your-cloudinary-api-secret'
    FACEBOOK_KEY:
      'your-facebook-key'
    FACEBOOK_SECRET:
      'your-facebook-secret'
  3. It is recommended that you create a virtual environment here before proceeding with installation:

    $ mkvirtualenv name_of_virtual_environment
  4. Install all project's dependencies both backend and frontend by running the following commands in order (from project root):

    $ pip install -r requirements.txt
    $ npm install
    $ bower install
  5. To setup static files and database migrations, run (also in the project root):

    $ python photo_magick/manage.py collectstatic
    $ python photo_magick/manage.py makemigrations
    $ python photo_magick/manage.py migrate

Run project locally

Run $ python photo_magick/manage.py runserver to start the server.

Tests

To run tests:

$ python photo_magick/manage.py test --settings=photo_magick.settings.test

For coverage report:

$ coverage run --source=photo_editor photo_magick/manage.py test photo_magick --noinput --settings=photo_magick.settings.test
$ coverage report -m

License

GNU GPL

Demo

Visit PhotoMagick to play with the live app on heroku.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published