Last active
March 15, 2022 13:43
-
-
Save rsyring/1556bd4b2cd7d47967d158af18698ebd to your computer and use it in GitHub Desktop.
Webgrid example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1) Activate your virtualenv | |
# 2) Change directory into the webgrid source | |
# 3) Change the line at the following location to have "sqlite:///example.db" at the end: | |
# https://github.com/level12/webgrid/blob/7d99df84d32b0e70b1531c4d67ad53b1af6bfcb3/webgrid_ta/app.py#L33 | |
# 4) Remove the two requirements from the following line that have "pyodbc" in them: | |
# https://github.com/level12/webgrid/blob/7d99df84d32b0e70b1531c4d67ad53b1af6bfcb3/setup.py#L11 | |
~/projects/webgrid-src$ pip install --quiet -e .[develop,i18n] | |
~/projects/webgrid-src$ cd webgrid_ta/ | |
~/projects/webgrid-src/webgrid_ta$ python manage.py create-db | |
~/projects/webgrid-src/webgrid_ta$ FLASK_ENV=development python manage.py run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment