diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-06-23 23:18:07 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-06-23 23:18:07 +0200 |
| commit | 3cf70771cb45cc16ec33ffe44e7a1a4799d8f395 (patch) | |
| tree | 55f0edb53141d5f043b486d722f507bfd94abdea /animism-align/README.md | |
| parent | 014816dc724c1be60b7dd28d4e608c89b4ed451c (diff) | |
adding web app base
Diffstat (limited to 'animism-align/README.md')
| -rw-r--r-- | animism-align/README.md | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/animism-align/README.md b/animism-align/README.md new file mode 100644 index 0000000..e08c35a --- /dev/null +++ b/animism-align/README.md @@ -0,0 +1,47 @@ +# animism-align + +Align a text to an audio file. + +## installation + +First, install miniconda and node. + +``` +conda create env -f environment.yml +npm install +``` + +## running the site + +Before running the commands, enter the client directory, load the Conda environment, and make sure the database is current: + +``` +cd cli +conda activate animism +./cli.py db upgrade head +``` + +Then build the frontend and run the Flask server: + +``` +npm run build +./cli.py flask run +``` + +The server will be running on http://0.0.0.0:5000/ + + +## development + +Monitor the Javascript for changes (run in another window): + +``` +npm run watch +``` + +Generate a new migration if you've modified the database: + +``` +./cli.py db revision --autogenerate -m 'describe the changes' +./cli.py db upgrade head +``` |
