Skip to content

This is the repository containing the code base of Team Kamikazey's solution to SIH problem AM291 for Cisco Devnet

Notifications You must be signed in to change notification settings

shubhank-saxena/CiscoDevnetSIH2020_Kamikazey

Repository files navigation

CISCO MID DAY MEAL ANALYTICS SIH 2020

Run in Postman

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

## Setup and running of project (Backend)
  • 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 port 8000.
    Open http://localhost:8000 to view it in the browser.

  • To exit the pipenv virtual environment run exit.

Setup and running of project (Frontend)

  • 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.

Steps to test the final django-react rendered version

  • 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.

Note

  • As the project uses pipenv to manage dependencies, you need to run pipenv install <package_name> to install the new package after activating the pipenv shell/environment.
  • Use only yarn add package_name to add new packages to the frontend part.

Project Creators ✨

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

💻 🎨

About

This is the repository containing the code base of Team Kamikazey's solution to SIH problem AM291 for Cisco Devnet

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published