Add some notes about setup and running jon
This commit is contained in:
parent
2045496ef4
commit
f666075f3e
18
README.md
18
README.md
@ -2,10 +2,26 @@
|
|||||||
|
|
||||||
> the tamer of garfield
|
> the tamer of garfield
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
```
|
||||||
|
pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
You should probably use a virtualenv for that.
|
||||||
|
|
||||||
|
## Running
|
||||||
|
|
||||||
|
```
|
||||||
|
flask --app jon run --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
`--debug` restarts the server when a source file changes.
|
||||||
|
|
||||||
## fsmi-db forward
|
## fsmi-db forward
|
||||||
|
|
||||||
```
|
```
|
||||||
ssh -nNTvL 5432:fsmi-db.fsmi.uni-karlsruhe.de:5432 fsmi-login.fsmi.uni-karlsruhe.de
|
ssh -nNTvL 5432:fsmi-db.fsmi.org:5432 fsmi-login.fsmi.org
|
||||||
```
|
```
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user