A personal gallery application that displays images for others to see.
Please seeSPECIFICATIONS.md for details on the behaviour driven development of this app
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
1.Git
2.Python: 3.6.4 versions
3.Django: 1.11 or greater version
4.Have Internet connection
5.Virtual Environment
6.Gunicorn
7.Chrome Browser
Follow this procedure to get my project up and running in your Desktop or Laptop.
> Install Django Framework '''$pip install django==1.11'''
> Install Python Version --3.6.4
> Install gunicorn in (virtual) -python3.6 -m pip install gunicorn
> Install the Heroku Cli
> $ git clone https://github.com/MrazTevin/Gallery-Application.git
> $ Python3.6 -m venv Virtual
> $ Source virtual/bin/activate
- To test the functionalities of this app run the command below on your terminal:
1.First cd Gallery-Application/exhibit then;
$Python3.6 manage.py test
- Save : Will test if one is able to save i.e save the image location.
- Delete : Will test if one is able to delete i.e delete the image location.
- Instance : Will test the instance of the class i.e TestInstance of Image Class
def test_save_method(self):
self.outdoor.save_location()
location = Location.objects.all()
self.assertTrue(location)
- This tests will enable us write methods that we need for our app to function, which we will include in our models file
def save_location(self):
self.save()
def delete_location(self):
self.save()
Add additional notes about how to deploy this on a live system
- Django - The web framework used
- Python - Development language used
- Bootstrap3 - Used to design app layout.
- UI KIT - Used for UI/Ux
- MDB Bootstrap - Used to design the User Interface
- Heroku - Used to deploy application
- Tevin Milla - Initial work - PingPong
This project is licensed under the MIT License - see the LICENSE.md file for details
- Moringa School