GithubHelp home page GithubHelp logo

jessevictor / djangoip1 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 23.36 MB

Home Page: https://jesse-gallery.herokuapp.com/

Python 97.38% HTML 1.00% PowerShell 0.07% Shell 0.03% CSS 0.63% JavaScript 0.89%

djangoip1's Introduction

Gallery

Gallery is a django application that allows users display their photos for others to see.

Requirements

Clone the the repository by running

git clone https://github.com/Jessevictor/djangoip1.git
or download a zip file of the project from github then unzip.

Navigate to your project directory

Create a virtual environment

Install Virtualenv

pip install virtual venv

To create a virtual environment named virtual, run

virtualenv virtual

To activate the virtual environment we just created, run

source virtual/bin/activate

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 picsgarage

create database gallery

Install dependencies

To install the requirements from requirements.txt file,

pip install -r requirements.txt

Create Database migrations

Making migrations on postgres using django run

python3 manage.py makemigrations garage

then run the command below;

python3 manage.py migrate

## Run the app
To run the application on your development machine,

python3 manage.py runserver

## Running Tests
To run tests

python3 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 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. (e.g food, places)
  • Copy a link to the photo to share with my friends.
  • View photos based on the location they were taken.

LICENSE

LICENSE

Copyright (c) {2020} Jesse Victor.

djangoip1's People

Contributors

jessevictor avatar

Stargazers

Lennox Omondi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.