Squash Tournament Web Application
prerequisites:
sudo -H bash
Pip:
apt-get -y install python-pip
MySQL: either:
apt-get -y install python-mysqldb
or:
pip install mysqlclient
pip install setuptools
pip install Django==1.11
pip install djangorestframework==3.8.2
pip install markdown # Markdown support for the browsable API.
pip install beautifulsoup4
pip install xlrd
pip install xlsxwriter
pip install iCalendar
pip install django-debug-toolbar==1.9.1
# old modules, no longer required:
pip install django-coverage
pip install django-filter==0.9.1 # Filtering support
pip insatll Jinja2
pip install --upgrade google-api-python-client
for development:
apt-get -y install npm
npm install -g coffee-script@1.8.0
npm install -g minify@1.4.3
npm install -g util-io@1.7.0
npm install -g less@2.5.0
npm install -g babel-cli
npm install -g babel-preset-env
npm install -g decaffeinate
npm install -g bootstrap@3
To run from docker container locally:
docker run -v ~/etc:/home/whiskey/etc -v /var/run/mysqld:/var/run/mysqld -p 8080:80 --name wsrc_container wsrc