Git Product home page Git Product logo

django_orm's Introduction

Пульт охраны банка

Это внутренний репозиторий для сотрудников банка «Сияние». Если вы попали в этот репозиторий случайно, то вы не сможете его запустить, т.к. у вас нет доступа к БД, но можете свободно использовать код вёрстки или посмотреть как реализованы запросы к БД.

Пульт охраны — это сайт, который можно подключить к удалённой базе данных с визитами и карточками пропуска сотрудников нашего банка.

Переменные окружения

DB_HOST - хост;
DB_PORT- порт;
DB_NAME- имя базы данных;
DB_USER- пользователь;
DB_PASSWORD- пароль;
SECRET_KEY- секретный ключ шифрования;
DEBUG- отладочный режим (False- отключенный,True- включенный );

How to install

Python3 have to be already installed. Then use pip (or pip3, there is a contravention with Python2) to install dependencies: :

git clone https://github.com/djeck1432/django_orm.git

After you downloaded the repository open a folder django_orm using next command:

cd django_orm

Now all of the required libraries and modules have to be installed:

pip install -r requirements.txt

Now we are ready for the script .

Как запустить сайт

Для того, что бы запустить сайт, выполните следующую команду в терминале(MacOs) или в консоли(Linux):

python manage.py runserver 0.0.0.0:8000

В браузере можете посмотреть на результат по ссылке: http://localhost:8000

Цель проекта

Код написан в образовательных целях на онлайн-курсе для веб-разработчиков dvmn.org.

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.