The following guide outlines how to setup your development environment to work with this project.
The following should work for Ubuntu, Xubuntu, or any other Debian-based Linux.
Install pip
sudo apt-get install python3-pip
Install virtualenv
sudo pip3 install virtualenv
Open the directory
cd bag-of-holding
Create your virtual environment
virtualenv env
You can name your environment whatever you wish, just remember to use your new name in future commands instead of 'env'. Be sure not to commit it to the repository by adding it to the .gitignore file. 'env' is already being ignored.
Activate the virtual environment
source ./env/bin/activate
You should see (env) $ at your prompt, letting you know that you're running under the 'env' virtualenv install. To stop using the virtual environment at any time, just type:
deactivate
Install project requirements
pip install -r requirements.txt
Create and update migrations
python manage.py makemigrations
Migrate the database to latest data model
python manage.py migrate
Load some sample data
python manage.py loaddata sample_data.json
Create a super user account
python manage.py createsuperuser
Run the development server
python manage.py runserver