This is the Team Kamikazey! for the problem statement AM291 Cisco Meraki Mid-Day Meal for Smart India Hackathon 2020
Refer to the following presentation to get the understanding of the workflow and project structure
https://docs.google.com/presentation/d/18b0djYkj5tro1t9USJmXBdODgivMnQn9-xCfCXCkwUY/edit?usp=sharing
-
Fork the repo and clone it.
-
The project uses
pipenv
to manage dependencies. So, virtual environment creation will also be handled by pipenv -
Install Pipenv
-
Run these commands
pipenv install / python3 -m pipenv install
- Activate the pipenv enviroment by
pipenv shell / python3 -m pipenv shell
- Activate pre-commit hooks after activating the pipenv environment
pre-commit install
-
This completes setup for project requirements and pre-commit test hooks!
-
After the above setup, run
python manage.py migrate
-
Start the backend dev server
python manage.py runserver
Runs the backend server at default port8000
.
Open http://localhost:8000 to view it in the browser. -
To exit the
pipenv
virtual environment runexit
.
- At your root directory run
yarn install
to install all the dependencies - Start react dev server
yarn start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
- At your root directory run
./scripts/build_local.sh
. - Start django server
python manage.py runserver
- You should be able to see react working at
localhost:8000
.
- As the project uses
pipenv
to manage dependencies, you need to runpipenv install <package_name>
to install the new package after activating thepipenv
shell/environment. - Use only
yarn add package_name
to add new packages to the frontend part.
This project was created with the help of these awesome people! ❤️
Shubhank Saxena 💻 🎨 |
Jay Parmani 💻 🎨 |
Parth Sujalkumar Shah 💻 🎨 |
Jaskeerat Singh Randhawa 💻 🎨 |
Shreya Gupta 💻 |
Kush Daga 💻 🎨 |