This repository contains the source code of free5GC's website available at https://free5gc.org/
It's required to install the dependencies below:
- pymdown-extensions (mkdocs requirement)
- mkdocs-callouts (mkdocs requirement)
- mkdocs-material (theme)
- For more dependencies, please, check the requirements file
Install the dependencies using the below command
pip install pymdown-extensions mkdocs-callouts
To install the theme use
pip install mkdocs-material
[Optional] To load the packages into a Python virtual environment, use the command below
pip install -r requirements.txt
-
Clone this repository
git clone https://github.com/free5gc/free5gc.github.io.git -
Enter the project folder
cd free5gc.github.io -
Create an Virtual Env and activate it (required after Ubuntu 24.04)
python3 -m venv mkdocs-env source mkdocs-env/bin/activateAfter using, using deactivate to exit the environment
deactivate -
Install required packages in venv
pip install -r requirements.txt -
Deploy an instance of the website
mkdocs serve
Note: If the command is successful, a service should be running on port 5000 on your localhost.
-
Go to the repo folder
-
Deploy the local instance of the website using:
mkdocs serve
For full documentation visit mkdocs.org.
mkdocs serve- Start the live-reloading docs server.mkdocs build- Build the documentation site.mkdocs -h- Print help message and exit.mkdocs -a- specified the expose IP:port
mkdocs.yml # The configuration file.
... # Other webserver related files
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.