Update README with instructions for running the webserver
This commit is contained in:
17
README.md
17
README.md
@@ -1,8 +1,23 @@
|
|||||||
Quick & dirty commit of current progress to share with others.
|
# Installation
|
||||||
|
|
||||||
|
Don't.
|
||||||
|
|
||||||
|
# Development installation
|
||||||
|
|
||||||
|
Create a virtual environment and install the development set:
|
||||||
```
|
```
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
pip install --editable .[dev]
|
pip install --editable .[dev]
|
||||||
|
```
|
||||||
|
|
||||||
|
Set your save path and run the webserver to interact with the storage system:
|
||||||
|
```
|
||||||
|
export D2SAVE_PATH="/path/to/saves"
|
||||||
|
flask --app d2warehouse.app run
|
||||||
|
```
|
||||||
|
|
||||||
|
Some debug tooling:
|
||||||
|
```
|
||||||
d2dump /path/to/stash.d2i
|
d2dump /path/to/stash.d2i
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user