Giter Club home page Giter Club logo

gallery-app's Introduction

Gallery

Author

[Tracy Wangari]

Description

Gallery is a picture gallery made with a Django application that allows user to display own photos for others to view.

Setup Instructions:

Requirements

1. Clone the repository

Clone the the repository by running

git clone https://github.com/Thuotracy/gallery-app.git

or download a zip file of the project from github

Navigate to the project directory

cd gallery
2. Create a virtual environment

Install Virtualenv

python3 -m venv venv

To create a virtual environment named virtual, run

python3 -m venv Virtual

To activate the virtual environment we just created, run

source virtual/bin/activate
3. Create a django and create django projects

Install django

pip install django

Create django project

django-admin startproject gallery.

create a tracy app

django-admin startapp news
5. 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 picha

# create database picha
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

Technologies Used

  • Django
  • Python
  • Html
  • Css
  • Bootstrap3
  • Django-Admin

Bugs

There are no known bugs at the moment

License

License

MIT license © 2022 Tracy

Collaboration Information

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

Contacts

[email protected]

gallery-app's People

Contributors

thuotracy avatar

Stargazers

shopcom avatar Manuela Gomes 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.