Bang is a set of tools designed to assist student training and team formation for programming competitions
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Python
- PostegreSQL
sudo apt-get update
sudo apt-get python-pip python-dev python3-dev
pip install virtualenvwrapper
Note: Maybe will be necessary to add the follow line at the end of the .bashrc file and restart the bash console:
source /usr/local/bin/virtualenvwrapper.sh
sudo apt-get install libpq-dev postgresql postgresql-contrib
pip install -r ~/dev/projects/bang/requirements.txt
sudo su - postgres
psql
CREATE DATABASE bang;
CREATE USER admin WITH PASSWORD 'admin';
ALTER ROLE admin SET client_encoding TO 'utf8';
ALTER ROLE admin SET default_transaction_isolation TO 'read committed';
ALTER ROLE admin SET timezone TO 'UTC';
ALTER USER admin CREATEDB;
GRANT ALL PRIVILEGES ON DATABASE bang TO admin;
\q
exit
python manage.py makemigrations home
python manage.py migrate
python manage.py createsuperuser --username admin --email admin@email.com
python manage.py runserver
python manage.py test
It's easy, create an issue or comment on an already created, I will fix/
develop this, and we adds label taken
to the issue. Then, fork the project and submits a pull request.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.