A tool to organize a useful shift planning tool for events.
tl;dr
git clone https://github.com/MrOerni/InphimaHelperCoordinator.git
cd InphimaHelperCoordinator
mkdir ihc-venv # or whereever you want to place it
mkvirtualenv -p PATH_TO_PYTHON3_INTERPRETER ihc-venv
source ihc-venc/bin/activate
pip3 install -r requirements.txt
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py runserver
clone
Create a local copy of the Project
git clone --recursive https://github.com/MrOerni/InphimaHelperCoordinator.git
cd InphimaHelperCoordinator
virtualenv
Create a virtualenv, so you have a clean working environment for the project
mkdir ihc-venv or wherever you want to place it
mkvirtualenv -p PATH_TO_PYTHON3_INTERPRETER ihc-venv
source ihc-venc/bin/activate
I highly recommend you to install virtualenvwrapper for an easy work flow.
install requirements
This will install all the requirements to your virtualenv.
pip3 install -r requirements.txt
make migration scripts
The scripts will be made from every models.py. They create new tables in your database or alter them according to possible changes.
python3 manage.py makemigrations
migrate database
Now run the scripts from Step 4..
python3 manage.py migrate
create super-user
Create a user to manage your installation from the web browser. You can edit database tables which you register in admin.py
in the related app.
python3 manage.py createsuperuser
run
If this runs without any warning the server is up. Visit localhost:8000
with your favorite web browser.
python3 manage.py runserver
...