icecraft / Notes

develop by flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

###How to Install

  1. virtualenv venv

  2. source venv/bin/activate

  3. pip install -r requirements.txt

  4. python notebook.py shell

    • user = User(username='xxx', password='yyy')
    • db.session.add(user)
    • db.session.commit()
    • Diary.creat_newdiary(2016, user)
  5. now wait a minute!

  6. python app.py

  7. open 127.0.0.1:5050

  8. enjoy it !

About

develop by flask


Languages

Language:CSS 52.1%Language:JavaScript 45.7%Language:Python 1.3%Language:HTML 0.8%