Setup

Setup #

Local server #

Prerequisites :

Steps to Setup

  • git clone https://github.com/deprov447/median-api : Clone the repo to your machine
  • cd median-api
  • npm install : Install all the required node dependencies
  • (cd src/frontend && hugo) : Generate static front pages
  • npm start

Docker #

Prerequisites

Steps to setup

You can pull the latest version of Median from Docker Hub. Use docker pull deprov447/median-api

or else build your own image:

  • git clone https://github.com/deprov447/median-api : Clone the repo to your machine
  • cd median-api
  • docker build --network=host -t median-api . : Build the image
  • docker run --net=host median-api : Start image