1
0

chore(readme): add missing steps to installation guide

This commit is contained in:
2025-11-13 11:12:30 +04:00
parent 059d79a256
commit 4a683b8601

View File

@@ -2,9 +2,11 @@
### Installations steps. ### Installations steps.
1. Install Docker (with Docker Compose) by [following guide](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository). 1. Install Docker (with Docker Compose) by [following guide](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository).
2. Copy .env.example to .env. 2. Clone this repository by running `git clone https://git.n08i40k.ru/n08i40k/aaaa aaaa`.
3. Replace environment variables in .env by your. Make sure that you are using PostgreSQL, not MySQL. 3. Go to project directory by running `cd aaaa`.
4. In `docker-compose.yml` modify public port (replace 80 by any port) if you need. 4. Copy `.env.example` to `.env`.
5. Run `mkdir uploads` if you don't have that directory in project root. 5. Replace environment variables in .env by your. Make sure that you are using PostgreSQL, not MySQL.
6. Run `docker compose up --build --detach`. 6. In `docker-compose.yml` modify public port (replace 80 by any port) if you need.
7. Try to open this url `http://[public ip or domain]:[public port specified in docker-compose.yml]/docs`. 7. Run `mkdir uploads` if you don't have that directory in project root.
8. Run `docker compose up --build --detach`.
9. Try to open this url `http://[public ip or domain]:[public port specified in docker-compose.yml]/docs`.