chore (dev): update development.md

This commit is contained in:
naskya 2024-03-04 02:33:46 +09:00
parent 83056f46ed
commit 7edef25b47
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -15,8 +15,8 @@ The Firefish repo comes with a new containerized environment to help make develo
### Start up the environment
1. Run `git clone https://firefish.dev/firefish/firefish.git && cd firefish` to fetch needed files.
- If you don't want to clone the entire repository, you can just download the [`dev` directory](https://firefish.dev/firefish/firefish/-/tree/develop/dev) and execute `chmod +x dev/docker-entrypoint.sh`.
1. Download the [`dev` directory](https://firefish.dev/firefish/firefish/-/tree/develop/dev) and execute `chmod +x dev/docker-entrypoint.sh`.
- Alternatively, you can just run `git clone https://firefish.dev/firefish/firefish.git && cd firefish` to fetch needed files (it clones the entire repository, though).
1. Open `dev/docker-compose.yml` and set `URL` to the URL you want to use (or leave it to `http://localhost:3030`).
1. Run `docker compose --file dev/docker-compose.yml up`. This will build the environment, dependencies and prepare the needed config files.
- If you use Podman, you should run `podman-compose --file dev/docker-compose.yml up` instead.