Welcome to the AI PELS (name subjet to change) project! Follow these steps to set up your Python development environment and run the project locally.
- Python installed on your system.
-
Clone the repository to your local machine:
git clone https://github.com/brul30/AI_PELS.git cd AI_PELS
To install packages and run various command shortcuts, we use rav. Open rav.yaml to see the various commands available if you prefer to not use rav.
macOS/Linux Users
python3 -m venv venv
source venv/bin/activate
venv/bin/python -m pip install pip pip-tools rav --upgrade
venv/bin/rav run installs
rav run freezeWindows Users
c:\Python310\python.exe -m venv venv
.\venv\Scripts\activate
python -m pip install pip pip-tools rav --upgrade
rav run win_installs
rav run win_freezeWith all the configuration done, here are the main commands you'll run:
rav run server
rav run servermaps topython manage.py runserverin thesrcfolder
When you're done working on the project, deactivate the virtual environment:
deactivate