forked from spacebar/SplatNet-Backend
chore(feat): update readme to reflect new .toml building
This commit is contained in:
parent
2814425728
commit
e616167ecd
1 changed files with 16 additions and 8 deletions
26
README.md
26
README.md
|
|
@ -18,28 +18,36 @@
|
|||
[](https://git.crafterpika.cc/kittentm/splatnet-backend)
|
||||
[](https://git.crafterpika.cc/kittentm/splatnet-backend/src/branch/main/LICENSE)
|
||||
|
||||
</div>
|
||||
|
||||
This is the backend for the [SplatNet](https://git.crafterpika.cc/kittentm/splatnet) Revival frontend. It is a combination of Python & JS.
|
||||
|
||||
</div>
|
||||
|
||||
## Self-hosting
|
||||
|
||||
> [!IMPORTANT]
|
||||
> This project is not easy to self host!! Please please please read the console logs before asking for help.
|
||||
|
||||
### Running from source
|
||||
|
||||
To start, install Python `3.11+`. While newer versions aren't tested they should work fine. Dependencies are installed using
|
||||
```
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
### Installing from source
|
||||
|
||||
Telemetry is technically not required for the server to run, however it is required for most functions on the website. Judd is run via Node `/judd`. First change directories to Judd, and install the node modules.
|
||||
```
|
||||
npm install
|
||||
```
|
||||
|
||||
To start, install Python `3.11+`. While newer versions aren't tested they should work fine. Then install using:
|
||||
```
|
||||
pip install . -v
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> It is not required to run in verbose, however is reccomended as otherwise it looks like it has hung. The installation progress will take awhile as it copies all Node modules.
|
||||
|
||||
Now you must configure your `.env` A example `.env` is included for you. For a full explanation, jump to [.env configuration](https://git.crafterpika.cc/kittentm/splatnet-backend#env-configuration).
|
||||
Once done, run `/main.py`. This will launch both the frontend api & telemetry.
|
||||
Once done, run:
|
||||
```
|
||||
splatnet
|
||||
```
|
||||
This uses the `.env` found in your current directory.
|
||||
|
||||
### Docker
|
||||
Alternatively, this is available as a Docker image.
|
||||
|
|
|
|||
Loading…
Reference in a new issue