37 lines
368 B
Markdown
37 lines
368 B
Markdown
# Greenhouse
|
|
|
|
Greenhous control
|
|
|
|
## Installation
|
|
|
|
```shell
|
|
python setup.py install
|
|
```
|
|
|
|
## Usage
|
|
|
|
### Manual
|
|
|
|
Create wrapper script (e.g. wrapper.py):
|
|
|
|
```python
|
|
from greenhous import app
|
|
|
|
if __name__ == "__main__":
|
|
app.run()
|
|
|
|
```
|
|
|
|
Execute the wrapper script:
|
|
|
|
```shell
|
|
python3 wrapper.py
|
|
```
|
|
|
|
### gunicorn
|
|
|
|
```shell
|
|
gunicorn --bind 0.0.0.0:80 greenhouse:app
|
|
```
|
|
|