Taking back sports to the hood.
Digital platform that helps people connect, go outside and play their faivorte sports and explore new sport games, anySport, anywhere, anytime.
The platfrom is a web based application working with Django Server side & React Client side.
Before starting make sure you have installed python 3.6.5, npm and gulp-cli globally. After that feel free to continue.
This will work on both macOS and Windows.
- Clone this repository into your local machine - this will create the project-root directory.
- Create a Python
virtualenv
with Python version 3.6.5 - Learn virturalenv. - Navigate to project-root directory and run command
python -m pip install -r requirements.txt
. - Run
npm install
in that directory. - Navigate into
nethood-react
, run commandnpm install
.
- Two dev servers - React and Django.
- One dev server - Django serve the frontend.
Make sure that CORS is enabled on the Django settings and the python virtualenv is active.
- Navigate into
nethood-react
and runnpm run start
. - Navigate into
nethood
and runpython manage.py runserver
. - Set the API_DOMAIN in the React app to be the provided domain from the python run.
- Navigate into
nethood-react
and runnpm run build
. - Navigate into project-root directory and run
gulp react-to-django
.
First thank you for making the world a better place to play together! Secondly FORK this repository into your own kickass Github account. Pull requests can be passed only if it was Code Reviewd by another superstar from the team which is working on the project.
Don't worry, it'll soon be fuller than your neighborhood's playgrounds.