5. Mofa¶
This page explains on how to get started with Mofa.
To use Mofa, you need to have a python version 3.6 or higher installed.
Download and install Python.
Optional: create and start your virtual environment.
5.1. Installing requirements¶
Windows
cd /path/to/project/src/
pip install -r requirements.txt
Linux
cd /path/to/project/src/
pip3 install -r requirements.txt
5.2. Running the server¶
Windows
py manage.py runserver 0.0.0.0:8000
Linux
./manage.py runserver 0.0.0.0:8000
5.3. Creating a user¶
In order to log in, an account is needed. This can be created by doing:
Windows
py manage.py createsuperuser
Linux
python3 manage.py createsuperuser