Skip to content

ismetkizgin/video-server-nodejs

Repository files navigation

Video Server Project

The Video Server project displays the videos under the videos folder to the user. Video files in the folder are added to the menu autonomously.

Project Publishing Instructions

The project can be published in two different ways.

  • Docker
  • NPM

Installation with Docker

To publish the project on Docker, go to the project directory and write the following codes;


  # deploy project with docker
  $ docker-compose up

  # compile docker files
  $ docker-compose build
  

Installation with NPM

To publish the project in NPM, go to the project directory and write the following codes;


  # package install
  $ npm install

  # project start
  $ npm start
  

Running the Project as a Developer

As a developer, to start the project and do the test operations, first go to the project directory and install the packages, then give the necessary command to start the mode.


  # package install
  $ npm install

  # project start
  $ npm run start:dev