saurabh4269 / ResoBin

Course resources by the insti for the insti.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ResoBin - Easily Share Course Material

Requirements

  • React 17+

Getting started

  • Note: Enviroment variables are located here, and will only be accessible to the core developers.
  • Before starting, make sure to install Yarn. Also, avoid using npm in this repository.

Development

  • Clone this repository

    git clone https://github.com/wncc/ResoBin.git
    cd ResoBin
  • Install dependencies:

    yarn install
  • Copy the environment variables to the base directory (current directory)

  • Finally, run the development server:

    yarn start
  • The frontend server runs at http://localhost:3000, and might take a few minutes to start.

Production

  • Build the project

    yarn build
  • Serve the /build directory using your webserver (Nginx or Apache)

Production (deployment with Docker)

  • Build & tag the image file

    docker build --rm -f Dockerfile -t resobin:latest .
  • Run the image file

    docker run --rm -d -p 80:80 resobin:latest

About

Course resources by the insti for the insti.

License:MIT License


Languages

Language:JavaScript 98.9%Language:HTML 0.7%Language:CSS 0.3%Language:Dockerfile 0.1%Language:Shell 0.0%