A clone of the website for the popular photo app Instagram
To get a copy of the project up and running on your local machine for development and testing purposes,
- clone this repository
git clone https://github.com/KarenNgala/photoApp
- Create a virtual environment
python3.6 -m venv virtual source virtual/bin/activate
- Install project dependencies
(virtual) $ pip install -r requirements.txt
- See deployment for notes on how to deploy the project on a live system.
//
- To get a development env running, use the .env.example file to create your own .env file.
- Create a postgres db and add the credentials to .env file
- Apply all migrations
(virtual) $ python manage.py migrate
- Create admin account
(virtual) $ python manage.py createsuperuser
- Make migrations to your database
(virtual) $ python manage.py makemigrations app_insta
(virtual) $ python manage.py migrate
- Start development server
(virtual) $ python3 manage.py runserver
Run automated tests for this system
(virtual) $ python3 manage.py test app_insta
With all environment variables changed to suit your local copy of this repository, deploy the application to Heroku to see it live
- Django 3.1 - The web framework used
- Heroku - Deployment platform
- Python3.6 - Backend logic
- Postresql - Database system
This project is licensed under the MIT License - see the LICENSE.md file for details