A photo sharing Social Media app for multiple users cloned from the Instagram App
A user can create an account, post, follow and comment on other people's posts while signed in.
- Linux Operating System
- Python3.6 or latest
- Postgres Database
- Programming IDE e.g VS Code
- python virtual environment
Clone the repository by running the following command on the terminal:
git clone git@github.com:Mathenge-Alex/myInsta.git
Activate virtual environment using python3
virtualenv -p /usr/bin/python3 venv && source venv/bin/activate
Install project dependencies with the command
pip install -r requirements.txt
This will install all the project pre-requisites.
psql
CREATE DATABASE instagram;
Create an environment file .env, to store important credentials of the project. You can use the dummy set-up below to configure.
SECRET_KEY = '<Secret_key>'
DBNAME = 'insta'
USER = '<Username>'
PASSWORD = '<password>'
DEBUG = True
# Cloudinary Credentials
CLOUD_NAME='<name>'
API_KEY='<key>'
API_SECRET='<secret>'
CLOUDINARY_URL='<url>'
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = '<your-email>'
EMAIL_HOST_PASSWORD = '<your-password>'
python3 manage.py makemigrations instagram
python3 manage.py migrate
python3 manage.py createsuperuser
Configure the username, email and password as guided by the prompt.
python3 manage.py runserver
Open the local host address given on the terminal. You should find your project running
The project is unfinished.
- Git
- Python
- Postgresql
- Javascript
- HTML
- Bootstrap 4
- Heroku
The project is governed by an MIT License © Alex Mathenge 2022