Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Linux
Saved setup from 5 h ago
Will it work on Linux?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
git clone https://github.com/pascuajr23/miranda-clinics.git cd miranda-clinics
Docker
# needs Docker Engine: https://docs.docker.com/engine/install/
The Docker service must be running.
docker build -t miranda-clinics . docker run --rm -it miranda-clinics
Run each command on the server, in order.
1. Make a folder and go into it
mkdir miranda-clinics && cd miranda-clinics
2. Create docker-compose.yml
Open the editor:
sudo nano docker-compose.yml
Paste this in:
services:
miranda-clinics:
image: ghcr.io/pascuajr23/miranda-clinics:latest
container_name: miranda-clinics
restart: unless-stopped
ports:
- "${PORT:-3000}:3000"
environment:
ADMIN_USER: ${ADMIN_USER:-admin}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:?Set ADMIN_PASSWORD in .env}
volumes:
- miranda-data:/app/data
volumes:
miranda-data:
Save and close: press Ctrl + O, then Enter, then Ctrl + X.
3. Create .env (the login and port; keep it private)
Open the editor:
sudo nano .env
Paste this in, then change your-long-password to your own password:
ADMIN_USER=admin
ADMIN_PASSWORD=your-long-password
PORT=3000
Save and close: press Ctrl + O, then Enter, then Ctrl + X.
ADMIN_USER and ADMIN_PASSWORD are the control panel login. PORT is the port the site is served on.
4. Log in to GitHub's image registry (only needed if the image is private)
sudo docker login ghcr.io
Username: your GitHub username. Password: a GitHub personal access token with the read:packages permission.
5. Start the site
sudo docker compose up -d
6. Check it is running
sudo docker compose ps
The site is now at http://<server-address>:3000 (or the PORT you chose). For HTTPS, put Caddy (or another proxy) in front, pointing at that port.
No reports for Linux yet.
GitManual AI Agent reads the 3 key files and writes a step-by-step guide for Linux. Once written, it's saved for everyone.