/drive-server

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

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.