Skip to content

gianlucadelgobbo/AVnode.net

Repository files navigation

avnode

Setup

We're using nvm to ensure that all people in the project use the same version of node.js, which is normally the latest LTS version. We're using docker for the database (and later probably the whole project).

Quick Start

  • Run nvm use in this directory to use a compatible version of nodejs.
  • Run docker-compose up -d in this directory to start up mongodb in docker.
  • Copy example.env.local to .env.local.
  • Run npm run dev to run in development mode.
  • Create the warehouse and storage folders for assets storage.

Alternative setup for development without Docker

  • Setup node.js.
  • Setup mongodb.
  • Setup elasticsearch.
  • Run npm i to install dependencies.
  • If sharp package does issues, run npm i in node_modules/sharp to compile it.
  • Copy example.env.local to .env.local.
  • Create the warehouse and storage folders for assets storage.
  • Run npm run dev to run in development mode.

Edit .env.local

ACCESSKEYID, SECRETACCESSKEY for AWS GOOGLEMAPSAPIKEY for google maps.

And other environment variables if needed.

On ARM

  • npm rebuild sharp
  • npm rebuild node-sass

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published