InstaPic is a platform where users can upload their photos and add caption to the photos for friends to view, like and comment on the photos.Users can also follow each other, see their profile with all the photos they've posted and see their friends photos on their timeline too.
- Text Editor
- Install python
- Install and activate virtual
- Setup Database
- Install Django
sudo apt-get install python3.6
.python --version
to confirm that python has been installed.
cd your preferred directory
=>cd Desktop
git clone https://github.com/IreneMercy/Instapic.git
.
cd Instapic
.
atom . or code .
, according to the type of your text editor.
python3.6 -m venv virtual
, check your project to confirm you have a folder called virtual,- then activate it by running
source virtual/bin/activate
pip install -r requirements.txt
That will install all packages including Django.
python3.6
,import django
- And lastly
django.get_version()
to see and confirm the version of django installed. - You can then
ctrl z
to get out of the shell,
python3 manage.py runserver
to run the project.- Then click the local host link given to open the project on a browser
http://127.0.0.1:8000/
.