This is the process almost from scratch, assuming you're on a Mac and have installed Homebrew already.
- Install Python:
brew install python3
. - Upgrade package management tools:
pip3 install --upgrade pip setuptools wheel
. - Install Virtualenv:
pip3 install virtualenv
. - Prepare to create you virtual environment:
mkdir ~/.virtualenvs
. - Create your virtual environment:
python3 -m venv ~/.virtualenvs/galton
. - Activate your virtual environment:
source ~/.virtualenvs/galton/bin/activate
. - Clone the repository:
git clone [email protected]:galton-no/galton.git
. - Navigate into the project:
cd galton
. - Install the required packages:
pip install -r requirements.txt
. - Start the development webserver:
python manage.py runserver
. - Visit http://localhost:8000/.
To deactivate (exit) your virtual environment, use the deactivate
command.