-
Notifications
You must be signed in to change notification settings - Fork 0
ghlaunchcode/build-a-blog
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== QuickUP XX WrongWay XX $ ./main.py TODO: rename app.py == LC101 formal method create a python virtual environment $ virtualenv --python=python3 switch user to root $ su run environment # python main.py == Create initial Database >>> from app import g_db,BlogEntry >>> g_db.create_all() === Add new entry >>> new_entry = BlogEntry("First","This is the first (initial) entry") >>> g_db.session.add(new_entry) >>> g_db.session.commit()
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published