Skip to content

internxt/drive-server

Repository files navigation

Drive Server

Prerrequisites

  • Node v16

    nvm install 16

  • Yarn

    npm i -g yarn

Install

  • Create a .npmrc file from the .npmrc.template example provided in the repo.
  • Replace TOKEN with your own Github Personal Access Token with read:packages permission ONLY
  • Use yarn to install project dependencies.

Database setup (MariaDB)

Create schema and configure config/environments/development.json

Run yarn run migrate to create tables.

Start app

Run yarn start to start server in production mode.

Run yarn run dev to start with nodemon and development environment.