nosmo / porick-flask

Porting porick to flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

porick-flask

Porting Porick to Flask

Getting started

$ mkvirtualenv porick-flask
$ git clone https://github.com/stesh/porick-flask.git
$ cd porick-flask
$ pip install -r requirements.txt

Running locally

  • Create a file in settings/ in which to store your settings, e.g. settings/dev.py
  • Create settings/__init__.py with the contents: from .dev import * (this allows you to have multiple sets of settings you can switch between easily)
  • Fill your dev.py file with the settings detailed in settings.example
  • python runserver.py

Database setup

>>> from porick import db
>>> db.create_all()

About

Porting porick to flask

License:Apache License 2.0


Languages

Language:Python 41.9%Language:HTML 37.4%Language:JavaScript 13.9%Language:CSS 6.8%