Marvin Chomba Kangangi
A personal clone of the popular photo-sharing site Instagram(desktop version)
- Sign in to the application to start using.
- Upload my pictures to the application.
- See my profile with all my pictures.
- Follow other users and see their pictures on my timeline.
- Like a picture and leave a comment on it.
When the user opens the website, he/she will see the will be prompted to sign up or sign in.The user will be able to see posts that other users have posted. He/she can also add their own posts. A user can follow other users and view images posted by those users The user also has a personalized profile where they can edit their profile and view the photos they have postd
- HTML and CSS
- Python
- Django
- Postgres
- Heroku for deployment
The user will require git, django, postgres and python3.6+ installed in their machine. To install these two, you can use the following commands
#git
$ sudo apt install git-all
#python3.6
$ sudo apt-get install python3.6.
#django
$ pip install django==1.11
#postgres
$ sudo apt-get install postgresql postgresql-contrib libpq-dev
- config==0.4.0
- dj-database-url==0.5.0
- Django==1.11
- django-bootstrap3==11.0.0
- django-bootstrap4==0.0.7
- django-heroku==0.3.1
- gunicorn==19.9.0
- Jinja2==2.10
- MarkupSafe==1.1.0
- Pillow==5.3.0
- psycopg2==2.7.6.1
- python-decouple==3.1
- pytz==2018.7
- SECRET_KEY='<SECRET_KEY>'
- DEBUG=True #set to false in production
- DB_NAME='tribune'
- DB_USER='user'
- DB_PASSWORD='password'
- DB_HOST='127.0.0.1'
- MODE='dev' #set to 'prod' in production
- ALLOWED_HOSTS='.localhost', '.herokuapp.com', '.127.0.0.1'
- DISABLE_COLLECTSTATIC=1
- To access this application on your command line, you need to clone it
git clone https://github.com/marvinChomba/marvos-gram.git
- Create a requirements.txt in the root folder and copy the requirements above.
- Install the required technologies with
pip install -r requirements.txt
- Create a .env file and copy the .env code above
- You can then run the server with:
python3.6 manage.py runserver
- You can make changes to the db with
python3.6 manage.py makemigrations photos
python3.6 manage.py migrate
- You can run tests:
python3.6 manage.py test photos
Username: marvin_chomba Password:<see_me>
Currently, there are no known bugs
You can view the live site here
This project is under the MIT licence
Copyright (c) 2018 marvinchomba