Development Setup
To set up a development environment for this project, we recommend using a virtual environment to ensure that your dependencies are isolated from other projects on your system. The following instructions will guide you through the process of setting up a virtual environment on Linux, Mac, and Windows.
Warning
This documentation assumes familiarity with basic command line usage and some knowledge of virtual environments. If you are not comfortable with these concepts, please refer to the relevant documentation before proceeding.
Clone the main Git reppository via command line:
git clone https://github.com/MASTFramework/mastf.git && cd MAST-F
Run the following command to create a new virtual environment:
python3 -m venv ./venv
py -m venv .\venv
Activate the virtual environment by running the appropriate command for your system:
source ./venv/bin/activate
.\venv\Scripts\activate
Once your virtual environment is active, install the required packages by running the following command:
pip install -r requirements.txt
Note
The
requirements.txt
file contains a list of all packages required to run the development server. You can modify this file to add or remove packages as needed.
You now have a fully functional development environment for this project. You can start the development server
pointing to localhost:8000
with the following command:
python3 manage.py runserver
py manage.py runserver