By cynthiaoduol
This is an online platform where I display my photos for others to see.A user can click on an image to view the image details. A user can also copy an image link.
https://github.com/cynthiaoduol/Gallery.git
https://cynthiagallery.herokuapp.com/
- Fork the data onto your own personal repository.
- Clone Project to your machine
- Activate a virtual environment on terminal:
source virtual/bin/activate
- Install all the requirements found in requirements file.
- On your terminal run
python3.6 manage.py runserver
- Access the live site using the local host provided
- Python3.6
- HTML
- Bootstrap 4
- Heroku
- Postgresql
- Django 1.11
git clone https://github.com/cynthiaoduol/Gallery.git
git init
git remote add origin <your-repository-url>
python3.6 -m virtualenv virtual
source virtual/bin/activate
Create a .env
file and paste paste the following filling where appropriate:
SECRET_KEY='rdtfyguihjohucbdsjnc'
DEBUG=True
DB_NAME='tribune'
DB_USER='<your database name>'
DB_PASSWORD='<password to your database>'
DB_HOST='127.0.0.1'
MODE='dev'
ALLOWED_HOSTS='.localhost', '.herokuapp.com', '.127.0.0.1'
DISABLE_COLLECTSTATIC=1
Install dependancies that will create an environment for the app to run
pip install -r requirements.txt
python3.6 manage.py check
python manage.py makemigrations news
python3.6 manage.py sqlmigrate news 0001
python3.6 manage.py migrate
python3.6 manage.py runserver
Open localhost:8000
There are no known bugs at the moment
Contact Cynthia Oduol for further help/support
Copyright (c)2018 Cynthia Oduol