gitmedha / sis-frontend

Latest Medha Project from Scratch
GNU Affero General Public License v3.0
0 stars 0 forks source link

Getting Started with Medha Student Information System (SIS)

This project was bootstrapped with Create React App.

Staging site

https://sis-new.medha.org.in/

Pre-requisites

Install NodeJS and npm

  1. node v14.x.x
  2. npm v6.x.x

Local setup

In the project directory, you can run:

  1. Install the project dependencies.

    npm install

    While running npm install you might face npm - "Can't find Python executable "python" run npm config set python python3 to fix this issue.

  2. Set up .env file using .env.example and update the environment variables.

    cp .env.example .env
  3. Run the app in the development mode.

    npm start

    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.

  4. For testing, launch the test runner.

    npm test

    Launches the test runner in the interactive watch mode. See the section about running tests for more information.

Staging & Production

  1. Install the project dependencies.

    npm install
  2. Set up .env file using .env.example and update the environment variables.

    cp .env.example .env
  3. Build the app for production.

    npm run build

    Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes. Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

This project was built with Create React App. For debugging and features, visit the Create React App documentation.

To learn React, check out the React documentation.