Skip to content

KarenNgala/photoApp

Repository files navigation

Photo app

A clone of the website for the popular photo app Instagram

Getting Started

To get a copy of the project up and running on your local machine for development and testing purposes,

  1. clone this repository
    git clone https://github.com/KarenNgala/photoApp
    
  2. Create a virtual environment
    python3.6 -m venv virtual
    
    source virtual/bin/activate
    
  3. Install project dependencies
     (virtual) $ pip install -r requirements.txt
  • See deployment for notes on how to deploy the project on a live system.

Prerequisites

//

Installing

  1. To get a development env running, use the .env.example file to create your own .env file.
  2. Create a postgres db and add the credentials to .env file
  3. Apply all migrations
(virtual) $ python manage.py migrate 
  1. Create admin account
(virtual) $ python manage.py createsuperuser
  1. Make migrations to your database
(virtual) $ python manage.py makemigrations app_insta
(virtual) $ python manage.py migrate
  1. Start development server
 (virtual) $ python3 manage.py runserver

Running the tests

Run automated tests for this system

(virtual) $ python3 manage.py test app_insta

Deployment

With all environment variables changed to suit your local copy of this repository, deploy the application to Heroku to see it live

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details