Go to file
garrettmills 0e25a39f08
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/promote/production Build is passing
drone: allow promoted builds
2022-11-29 15:13:46 -06:00
app Add real-time collab controller for markdown 2021-04-24 11:40:42 -05:00
config
deploy Add kubernetes deployment specs 2022-06-25 21:42:00 -05:00
flaps
uploads
.drone.yml drone: allow promoted builds 2022-11-29 15:13:46 -06:00
.gitignore
azure-pipelines.yml
BUILD.txt
docker-compose.yml
docker.env
Dockerfile Add kubernetes deployment specs 2022-06-25 21:42:00 -05:00
example.env Add development info to README 2021-08-30 16:08:27 -05:00
flaps.json
flitter
index.js
LICENSE
package.json Add kubernetes deployment specs 2022-06-25 21:42:00 -05:00
README.md Add yarn info to README 2021-08-30 16:09:13 -05:00
tag.txt
Units.flitter.js
yarn.lock

noded/backend

Requirements to develop

  • Node.js 14.x
  • MongoDB 4.x
  • Yarn package manager (version 1.x)

Setting up develop

  • Clone this repo
  • Run yarn install
  • Copy example.env to .env
  • Edit .env
    • Change LOGGING_LEVEL to 7
    • Change database information, if necessary
    • Change ENVIRONMENT to development
    • Change UPLOAD_DEFAULT_STORE to flitter
      • You can leave this as s3 if you specify an S3-compatible API and credentials.
  • Make sure Flitter can start using ./flitter test

Basics

  • Run node index.js to start the main server.
    • I like to use nodemon to auto-reload when files change.
  • To access the shell for debugging & testing, run:
    • node --experimental-repl-await flitter shell