A website for Open source tasks
Requirements
- python 3.6.2
- docker
- docker-compose
If you have the requirements installed and configured, you should be able to run the following commands:
$ git clone [email protected]:ch-open/oss-challenge.src.git # Clones the Git Repo into your present folder
$ cd oss-challenge.src # Moves into the folder
Setup an Pyenv/Virtualenv:
$ pyenv virtualenv 3.6.2 oss-challenge
$ pyenv local oss-challenge
$ docker-compose up # Starts the Docker containers
$ pip install -r requirements.txt # Installes all requirements
$ python manage.py migrate # Applies migrations
$ python manage.py loaddata osschallenge/fixture/role.json # Loads role fixtures
$ python manage.py loaddata osschallenge/fixture/rank.json # Loads rank fixtures
$ python manage.py createsuperuser # Creates new Django superuser
Now you should be able to run:
$ python manage.py runserver # Starts the localhost
and go to http://127.0.0.1:8000/ to get to the Website.
Code released under the GNU Affero General Public License v3.0.