An app where users can sign-up to share posts, comment on the posts, like the posts and follow other users
- Pascaline Irabaruta - pascy-irabaruta
Fork this repository or clone it to your local machine on ubuntu use the following commands
git clone https://github.com/pascaline-irabaruta/instagram-clone.git
As a user of the application you will be able to:
- view different posts from accounts followed
- click on a single photo to expand it and also view the details of the photo.
- search for user profiles
- comment on photos
- like posts
- Upload Posts with caption
- Follow other users
- What you need
- Python version 3.6
- postgres database
- set up a virtual environment using the following command
python3 -m venv virtual
And activate virtual
source virtual/bin/activate
- Install the requirements use the command...
pip install -r requirements.txt
- create a .env file and add
SECRET_KEY='<random-string>'
DEBUG=True
ALLOWED_HOSTS=''
DATABASE_URL='postgres://databaseowner:password@localhost/databasename'
- create a database using postgres
CREATE DATABASE <your-database-name>
- create a migration using the following command
python3 manage.py makemigrations
and migrate
python3 manage.py migrate
- create a super user for admin account
python 3.6 manage.py createsuperuser
add your password and username , email is not a must.
- To run user :
python3 manage.py runserver
- navigate to admin by adding /admin to your local host url like so :
127.0.0.1:8000/admin
- Html5 and Css3
- Python
- Bootdstrap 4
- Django web framework used
- JQUERY
- Postgresql database
- This project is licensed under the MIT License - see the LICENSE file for details.
- Copyright (c) 2021 Pascy Irabaruta