Coder Social home page Coder Social logo

colaboradores / cinemark Goto Github PK

View Code? Open in Web Editor NEW

This project forked from berlotto/cinemark

0.0 1.0 0.0 4.86 MB

Site de venda de tickets - Colaboradores

License: GNU General Public License v2.0

Python 5.65% CSS 36.03% JavaScript 50.65% Ruby 0.04% HTML 7.62%

cinemark's Introduction

Cinemark

Site de venda de tickets - Colaboradores

Ambiente de desenvolvimento

$ mkvirtualenv cinemark
$ git clone https://github.com/berlotto/cinemark.git
$ cd cinemark
$ pip install -r requirements.txt
$ python app/cinemark.py

Configurações

As configurações estão em app/config.py, edite-o em seu editor de textos preferido

  • DEBUG: Modo debug ou não [True/False]
  • SECRET_KEY: Chave secreta distinta (ver abaixo como gerar)

Chave Secreta

Com um simples código vc pode gerar a chave secreta pseudo-randômica para sua aplicação

$ python
>>> import os
>>> os.urandom(24)

Banco de dados

Configure em "config.py" a url de conexão ao banco

Depois execute um terminal python simples e os comandos abaixo:

>>> from app.database import init_db
>>> init_db()

Feito! O banco de dados estará criado.

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.