Author James N.
This is a simple web based application for instagram features like posting,liking and commenting on images.
Behavior | Input | Output |
---|---|---|
Navigate to website | Click on a profile | User profile is displayed |
Post Image | Click on the post image icon | User redirected to the post image form where they can post the image and write a caption |
Search | Search users | Redirects you to user's profile page |
Comment | Click on the comment icon | Takes the user to the page where you can write and post a comment about the specific image |
https://insta68.herokuapp.com/
- Python 3.6
- Ubuntu software
- Django
Run the following command on the terminal:
git clone https://github.com/jay-68/instagram.git
Install Postgres
Run the following commands in the same terminal:
pip install virtualenv
python3.6 -m venv virtual
source virtual/bin/activate
Install dependencies that will create an environment for the app to run
pip3 install -r requirements
psql
CREATE DATABASE <database_name>;
SECRET_KEY = '<Secret_key>'
DBNAME = '<database_name>'
USER = '<Username>'
PASSWORD = '<password>'
DEBUG = True
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = '<your-email>'
EMAIL_HOST_PASSWORD = '<your-password>'
python3.6 manage.py makemigrations instagram
python3.6 manage.py migrate
In the same terminal type:
python3 manage.py runserver
Open the browser on http://localhost:8000/
Follow functionality issues. Fix coming soon.
- Python 3.6
- HTML
- Bootstrap 4
- Django2
- Postgresql
Contact me on [email protected] for any comments, reviews or collaboration.
MIT - Licence