mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-23 09:08:39 +02:00
docs: registry changes (#12)
* docker(prod): update docker-compose.prod.yml to use registry image * docs(README): update install instructions to use registry image
This commit is contained in:
21
README.md
21
README.md
@@ -48,29 +48,28 @@ Frustrated by the lack of comprehensive options, I set out to build **WYGIWYH**
|
|||||||
|
|
||||||
# How To Use
|
# How To Use
|
||||||
|
|
||||||
To run this application, you'll need [Git](https://git-scm.com) and [Docker](https://docs.docker.com/engine/install/) with the [docker-compose](https://docs.docker.com/compose/install/).
|
To run this application, you'll need [Docker](https://docs.docker.com/engine/install/) with [docker-compose](https://docs.docker.com/compose/install/).
|
||||||
|
|
||||||
From your command line:
|
From your command line:
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> Docker images for this project are currently under development, but manual setup is available now.
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone this repository
|
# Clone this repository
|
||||||
$ git clone https://github.com/eitchtee/WYGIWYH
|
$ mkdir WYGIWYH
|
||||||
|
|
||||||
# Go into the repository
|
# Go into the repository
|
||||||
$ cd WYGIWYH
|
$ cd WYGIWYH
|
||||||
|
|
||||||
# Fill the .env file with your configurations
|
$ touch docker-compose.yml
|
||||||
$ cp .env.example .env
|
$ nano docker-compose.yml
|
||||||
$ nano .env # or any other editor you want to use
|
# Paste the contents of https://github.com/eitchtee/WYGIWYH/blob/main/docker-compose.prod.yml and edit according to your needs
|
||||||
|
|
||||||
# Create docker-compose file
|
# Fill the .env file with your configurations
|
||||||
$ cp docker-compose.prod.yml docker-compose.yml
|
$ touch .env
|
||||||
|
$ nano .env # or any other editor you want to use
|
||||||
|
# Paste the contents of https://github.com/eitchtee/WYGIWYH/blob/main/.env.example and edit accordingly
|
||||||
|
|
||||||
# Run the app
|
# Run the app
|
||||||
$ docker compose up -d --build
|
$ docker compose up -d
|
||||||
|
|
||||||
# Create the first admin account
|
# Create the first admin account
|
||||||
$ docker compose exec -it web python manage.py createsuperuser
|
$ docker compose exec -it web python manage.py createsuperuser
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
web: &django
|
web: &django
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ./docker/prod/django/Dockerfile
|
|
||||||
image: ghcr.io/eitchtee/wygiwyh:latest
|
image: ghcr.io/eitchtee/wygiwyh:latest
|
||||||
container_name: ${SERVER_NAME}
|
container_name: ${SERVER_NAME}
|
||||||
command: /start
|
command: /start
|
||||||
|
|||||||
Reference in New Issue
Block a user