Skip to content

Dev guide

Raphael Margueron edited this page Apr 1, 2019 · 1 revision

You want to start helping us. You can follow these few steps to setup your dev environement.

Requirements

  • Git
  • Python3, with pip and venv
  • Redis-server, running
# Clone the code repository
git clone [email protected]:HE-Arc/OpenSauce.git
# Create a virtual environement
python -m venv OpenSauceVENV
# Activate it
source OpenSauceVENV/bin/activate
# for windows
# OpenSauceVENV/bin/activate.bat
cd OpenSauce
python -m pip install -r requirements.txt
# Extra requirements for windows
# python -m pip install pywin32
# Migrate the database
python manage.py migrate
# Load the fixtures
python manage.py loaddata opensauceapp/fixtures/*
# Run the server
python manage.py runserver

If you have any question, ask us on our Discord server. https://discord.gg/zXFjYaz

Clone this wiki locally