diff options
author | 2021-02-28 14:34:12 +0300 | |
---|---|---|
committer | 2021-02-28 14:34:12 +0300 | |
commit | 637d61e1e9b4f1f4643c7f56ed7f7b0b6fedbac8 (patch) | |
tree | 6ceebd48bad1630799d4141510e599bbb412b567 /README.md | |
parent | Dynamically Selects OAuth Redirect URI (diff) | |
parent | Merge pull request #63 from python-discord/feat/9/unittest-validation (diff) |
Merge branch 'main' into token-expiry
# Conflicts:
# backend/routes/forms/form.py
# backend/routes/forms/submit.py
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,6 +8,7 @@ To start working on forms-backend, you'll need few things: 2. Poetry 3. Docker and docker-compose (optional) 4. Running MongoDB instance (when not using Docker) +5. Running [Snekbox](https://git.pydis.com/snekbox) instance (when not using Docker, optional) ### Running with Docker The easiest way to run forms-backend is using Docker (and docker-compose). @@ -30,6 +31,7 @@ Create a `.env` file with the same contents as the Docker section above and the - `FRONTEND_URL`: Forms frontend URL. - `DATABASE_URL`: MongoDB instance URI, in format `mongodb://(username):(password)@(database IP or domain):(port)`. - `MONGO_DB`: MongoDB database name, defaults to `pydis_forms`. +- `SNEKBOX_URL`: Snekbox evaluation endpoint. #### Running Simply run: `$ uvicorn --reload --host 0.0.0.0 --debug backend:app`. |