Giter Site home page Giter Site logo

gallery-django's Introduction

drawing

Gallery Django Project

Simple CRUD application for managing art pieces and authors.

Check it out

(ㅅ´ ˘ `) ✧ Project deployed here username: admin.user password: qwfpgj78

Entities:

  1. User
  2. Genre
  3. ArtPiece
  4. Gallery

Setup

  1. Clone the project:
git clone https://github.com/mariiahorbova/gallery-django.git
  1. Navigate to the project directory:
cd gallery-mate
  1. Create .env file in gallery-mate directory and populate it with variables (see .env.example)
  2. Create virtual environment
python3 -m venv venv
  1. Activate virtual environment according to your OS
Platform Shell Command to activate virtual environment
POSIX bash/zsh $ source <path_to_venv>/bin/activate
POSIX fish $ source <path_to_venv>/bin/activate.fish
POSIX csh/tcsh $ source <path_to_venv>/bin/activate.csh
POSIX PowerShell $ <path_to_venv>/bin/Activate.ps1
Windows cmd.exe C:\> <path_to_venv>\Scripts\activate.bat
Windows PowerShell PS C:\> <path_to_venv>\Scripts\Activate.ps1
  1. Install dependencies
pip install -r requirements.txt
  1. Apply migrations to the project
python manage.py migrate
  1. Create superuser to login
python manage.py createsuperuser
  1. Start server
python manage.py runserver

Accessing the Application

  • The Django application is accessible at http://localhost:8000/

​Remember to replace localhost with the relevant IP address if you're not accessing these from the same machine where the services are running.

gallery drawio

image

image

2023-08-20 00_53_56-Gallery Mate - Opera

gallery-django's People

Contributors

mariiahorbova 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.