/pix-galore

Pix-galore is a picture gallery made with django application that allows users display their photos for others to see.

Primary LanguagePython

Pix-galore

BCH compliance

Description

Pix-galore is a picture gallery made with django application that allows users display their photos for others to see.

Author

Screenshots

Setup Instructions:

Requirements

1. Clone the repository

Clone the the repository by running

git clone https://github.com/moharick/pix-galore.git

or download a zip file of the project from github

Navigate to the project directory

cd pix-galore
2. Create a virtual environment

Install Virtualenv

pip install virtualenv

To create a virtual environment named virtual, run

virtualenv virtual

To activate the virtual environment we just created, run

source virtual/bin/activate
3. Create a database

You'll need to create a new postgress database, Type the following command to access postgress

 $ psql

Then run the following query to create a new database named gallery

# create database gallery
4.Install dependencies

To install the requirements from requirements.txt file,

pip install -r requirements.txt
5.Create Database migrations

Making migrations on postgres using django

python manage.py makemigrations gallery

then run the command below;

python manage.py migrate
6.Run the app

To run the application on your development machine,

python3 manage.py runserver

Running Tests

To run tests;

python manage.py test

Technologies Used

  • Django
  • Python
  • Html
  • Css
  • Javascript
  • Bootstrap

User stories

As a user of the application I should be able to:

  • View different photos that interest me.
  • Click on a single photo to expand it and also view the details of the photo. The photo details must appear on a modal within the same route as the main page.
  • Search for different categories of photos. (ie. Travel, Food)
  • Copy a link to the photo to share with my friends.
  • View photos based on the location they were taken.

Bugs

There are no known bugs at the moment

License

License

MIT license © 2019 Moharick

Collaboration Information

  • Clone the repository
  • Make changes and write tests
  • Push changes to github
  • Create a pull request

Contacts

Send me an email to collaborate on the project.