Giter Site home page Giter Site logo

vnetraffiqua / django-orm-standalone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dvmn-tasks/django-orm-standalone

0.0 0.0 0.0 44 KB

Стартовый репозиторий урока «Пишем пульт охранника банка» курса dvmn.org

Python 39.97% HTML 60.03%

django-orm-standalone's Introduction

Bank Security Console

Repository with a website for the lesson "Writing a bank guard console" course dvmn.org.

This is an internal repository for an employee of the Shining Bank. If you got into this repository by accident, then you will not be able to run it, because. you do not have access to the database, but you can freely use the layout code or see how the database queries are implemented.

The control panel can be connected to a remote database. The site displays a list of bank employees with active access cards and a list of those who are currently in the vault, indicating the time of stay.

The site also allows you to view the history of storage visits for any selected employee. For each visit, the date, time, and length of stay in the vault are displayed.

If an employee is in storage for more than an hour, the system marks this visit as suspicious.

Installation and launch of the site

Download code:

git clone https://github.com/vitaliy-pavlenko/django-orm-watching-storage.git

Change to the project directory:

cd django-orm-watching-storage

Install the dependencies in the virtual environment:

pip install -r requirements.txt

Create .env file with configuration:

DB_SETTINGS=postgres://USER:PASSWORD@HOST:PORT/NAME

Launch site:

python manage.py runserver 8000

Open the site in a browser at http://127.0.0.1:8000/

Additional settings in .env

SECRET_KEY=YOUR_KEY
DEBUG=true
ALLOWED_HOSTS=[host1,host2]

django-orm-standalone's People

Contributors

vnetraffiqua avatar dvmn-tasks avatar conformist-mw avatar voron434 avatar pelid avatar dependabot[bot] 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.