GithubHelp home page GithubHelp logo

manikdae34 / photo-share Goto Github PK

View Code? Open in Web Editor NEW

This project forked from manueldelarosa1204/photo-share

0.0 0.0 0.0 2.3 MB

Photo sharing application built with Django.

Python 78.78% HTML 21.22%

photo-share's Introduction

Photo Share

Photo Share is a web application built with Django that allows users to upload, share, and explore photos. This README file provides an overview of the project, how to set it up, and basic usage instructions.

Table of Contents

Features

  • User registration and authentication
  • Photo upload and deletion
  • Album creation and deletion
  • User profile with uploaded images and albums

Installation and Setup

Fallow these instructions to setup the project locally on your machine.

  1. Clone the repo
git clone https://github.com/ManuelDelarosa1204/Photo-Share.git
  1. Create a virtual environment
python -m venv venv
  1. Activate the virtual environment

    1. Unix
    source venv/bin/activate
    1. Windows
    venv/Scripts/activate.bat
  2. Install required packages

pip install -r requirements.txt
  1. Apply database migrations
python manage.py migrate
  1. Create a superuser for admin access
python manage.py createsuperuser
  1. Run the development server
python manage.py runserver
  1. In your web browser go to http://localhost:8000

  2. Browse the front facing features by clicking on the links in the navigation bar.

  3. Visit the admin panel at http://localhost/admin, login with the credentials you used when creating the superuser.

Testing

To run the test that are provided with the application you can run pytest in the root directory.

Run all test found in the project:

pytest

To run a specific test you can run the command pytest <directory>, pytest <directory>/<file>.py.

Run a test for a specific directory:

pytest user/

Run a test for a specific file in a directory:

pytest user/tests/test_models.py

photo-share's People

Contributors

manuel7806 avatar manueldelarosa1204 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.