mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-21 16:21:32 +02:00
feat(readme): add guide to build from source
This commit is contained in:
26
README.md
26
README.md
@@ -95,6 +95,32 @@ You can now access localhost:OUTBOUND_PORT
|
|||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> If you're going to use another IP that isn't localhost, add it to `DJANGO_ALLOWED_HOSTS`, without `http://`
|
> If you're going to use another IP that isn't localhost, add it to `DJANGO_ALLOWED_HOSTS`, without `http://`
|
||||||
|
|
||||||
|
|
||||||
|
## Building from source
|
||||||
|
|
||||||
|
Features are only added to `main` when ready, if you want to run the latest version, you must build from source.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Create a folder for WYGIWYH (optional)
|
||||||
|
$ mkdir WYGIWYH
|
||||||
|
|
||||||
|
# Go into the folder
|
||||||
|
$ cd WYGIWYH
|
||||||
|
|
||||||
|
# Clone this repository
|
||||||
|
$ git clone https://github.com/eitchtee/WYGIWYH.git .
|
||||||
|
|
||||||
|
$ cp docker-compose.prod.yml docker-compose.yml
|
||||||
|
$ cp .env.example .env
|
||||||
|
# Now edit both files as you see fit
|
||||||
|
|
||||||
|
# Run the app
|
||||||
|
$ docker compose up -d --build
|
||||||
|
|
||||||
|
# Create the first admin account
|
||||||
|
$ docker compose exec -it web python manage.py createsuperuser
|
||||||
|
```
|
||||||
|
|
||||||
# How it works
|
# How it works
|
||||||
|
|
||||||
## Models
|
## Models
|
||||||
|
|||||||
Reference in New Issue
Block a user