You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A comprehensive membership evaluations solution for Computer Science House.
7
7
@@ -14,6 +14,7 @@ To run the application, you must have the latest version of [Python 3](https://w
14
14
virtualenv .conditionalenv -p `which python3`
15
15
source .conditionalenv/bin/activate
16
16
pip install -r requirements.txt
17
+
export FLASK_APP=app.py
17
18
```
18
19
19
20
In addition, you must have Node, NPM, and Gulp CLI installed to properly execute the asset pipeline. If you don't have Node installed, we recommending installing with [NVM](https://github.com/creationix/nvm):
@@ -30,12 +31,7 @@ Then, install the pipeline and frontend dependencies:
30
31
npm install
31
32
```
32
33
33
-
You must create `config.py` in the top-level directory with the appropriate credentials for the application to run. See `config.sample.py` for an example. To perform the initial database migration, run the following commands before starting the application:
34
-
35
-
```
36
-
pip install pymysql
37
-
flask zoo
38
-
```
34
+
You must create `config.py` in the top-level directory with the appropriate credentials for the application to run. See `config.sample.py` for an example.
39
35
40
36
Once you have all of the dependencies installed, simply run:
41
37
@@ -62,3 +58,12 @@ flask db migrate
62
58
The new migration script in `migrations/versions` should be verified before being committed, as Alembic may not detect every change you make to the models.
63
59
64
60
For more information, refer to the [Flask-Migrate](https://flask-migrate.readthedocs.io/) documentation.
61
+
62
+
### Old Evals DB Migration
63
+
64
+
Conditional includes a utility to facilitate data migrations from the old Evals DB. This isn't necessary to run Conditional. To perform this migration, run the following commands before starting the application:
0 commit comments