Coder Social home page Coder Social logo

marinadvetrova / stepic_web_project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cheater115/stepic_web_project

1.0 0.0 0.0 46 KB

Создание проекта в рамках курса на stepic.org (https://stepik.org/course/154)

Shell 9.21% Python 75.60% HTML 15.19%

stepic_web_project's Introduction

stepic_web_project

Создание проекта в рамках курса на stepic.org

Рабочее окружение:

Этапы проекта:

  1. Отдача статических файлов(п. 1.8)
  2. Запуск WSGI приложений(п. 1.9)
  3. Создание Django приложения(п. 2.1)
  4. Создание моделей в Django приложении(п. 2.3)
  5. Отображение данных(п. 2.5)
  6. Обработка форм(п. 2.6)
  7. Авторизация(п. 2.7)

Отдача статических файлов

  • Название ветки nginx, чтобы перейти к данному этапу введите:

git checkout nginx

  • Установка nginx

sudo apt-get install nginx

Запуск WSGI приложений

  • Название ветки gunicorn, чтобы перейти к данному этапу введите:

git checkout gunicorn

  • Установка gunicorn

sudo apt-get install gunicorn

Создание Django приложения

  • Название ветки django, чтобы перейти к данному этапу введите:

git checkout django

  • Установка django

sudo apt-get install python-pip

sudo pip install django==1.10.5

Создание моделей в Django приложении

  • Название ветки mysql, чтобы перейти к данному этапу введите:

git checkout mysql

  • Установка mysql

sudo apt-get install mysql-client mysql-server

sudo apt-get install python-dev libmysqlclient-dev build-essential

sudo pip install mysqlclient

  • Игнорьте ошибку (ERROR 2002) - баг на локальной машине Stepik'a (обращается к сокету до создания, после последующих restart'ов ошибки нет)

Отображение данных

  • Название ветки pages, чтобы перейти к данному этапу введите:

git checkout pages

Обработка форм

  • Название ветки forms, чтобы перейти к данному этапу введите:

git checkout forms

Авторизация

  • Название ветки auth, чтобы перейти к данному этапу введите:

git checkout auth

  • Используется встроенная система авторизации и сессий Django

stepic_web_project's People

Contributors

cheater115 avatar

Stargazers

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