This is the source repository for the Flare docs site.
To get started, you have two main options for setting up your development environment: utilizing a Docker container or a manual setup. While both methods are effective, we recommend using a Docker container to avoid version discrepancies with the rest of the team.
-
Download and install Docker Desktop
-
In the command line navigate to the repository folder and build the docker container with the command:
docker compose up --no-start
-
After this step, You can run it from the Docker Desktop app. Open Docker Desktop, navigate to the Containers section, and run the
docs-private
container. -
To see the console logs or errors, open the Docker Desktop app and go to the
docs-private
container details under the containers section.Check all the warnings because the automatic build process will not accept them when creating a pull request.
-
From your browser, go to URL localhost:8000 to see the documentation page.
-
Press the stop button in the Docker Desktop app to stop it.
-
Download and install Python.
-
Install PIP, the Python package manager.
-
Install required packages.
pip install -r requirements.txt
-
To run locally, execute this command. When you want to stop the server, press Ctrl + C.
mkdocs serve
-
From your browser, go to URL localhost:8000 to see the documentation page.