This is a simple web clone of the instagram website. A user can create an account and sign into it. The site supports uploading images, commnting on images for other users. Logged in users can view photos uploaded by other users in the home page of app.
https://igram-01.herokuapp.com/
- Ubuntu Software (20.04)
- Python3.8
- Postgres
- python virtualenvironment
Run the following command in your terminal: `git clone {the insta-clone repository}
Activate virtual environment using python3.8 as default handler
virtualenv -p /usr/bin/python3.8 venv && source venv/bin/activate
Install dependancies that will create an environment for the app to run
pip install -r requirements.txt
psql
CREATE DATABASE insta;
Create .env file and paste paste the following filling where appropriate:
SECRET_KEY = '<Secret_key>'
DB_NAME = 'insta'
DB_USER = '<Username>'
DB_PASSWORD = '<password>'
DEBUG = True
ALLOWED_HOSTS='*'
CLOUD_NAME='<cloudinary>'
API_KEY='<cloudinary>'
API_SECRET='<cloudinary>'
run the (source .env) command in your terminal to update the env file
python3.8 manage.py makemigrations gram
python3.8 manage.py migrate
python3.8 manage.py runserver
Open terminal on localhost:8000
- Python 3.8
- Django 3
- HTML
- Bootstrap 4
- Heroku
- Postgresql
Contact me for further help/support through my github handle
Copyright (c) Peter Alvin