Windows¶
These instructions are intended for the person who administers the instance, usually a more technical/operational profile.
Prerequisites (Windows 10/11)¶
-
Install Docker Desktop:
-
https://www.docker.com/products/docker-desktop
-
Enable WSL 2 when prompted.
- Restart the computer.
Installation¶
- Download the repository and enter the folder using PowerShell or your preferred terminal:
- Start Farinha using the Windows script:
On the first run, run.bat automatically creates the .env file from .env-sample.
The script also asks for the public Farinha URL. If you do not know it yet, press Enter to leave it blank and continue. You can edit .env later.
SECRET_KEY is generated automatically. The automatic key does not contain $.
If a manual SECRET_KEY contains $, the script warns that Docker Compose may interpret this character as an environment variable and offers to generate a new safe key.
Updating¶
- Enter the folder where Farinha was installed:
- Stop, update, and start again:
If your instance has a specific internal procedure to stop/start containers, follow that procedure before updating the repository.