garrettmills
3d0273fde9
All checks were successful
continuous-integration/drone/push Build is passing
|
||
---|---|---|
app | ||
config | ||
flaps | ||
uploads | ||
.drone.yml | ||
.gitignore | ||
azure-pipelines.yml | ||
BUILD.txt | ||
docker-compose.yml | ||
docker.env | ||
example.env | ||
flaps.json | ||
flitter | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md | ||
tag.txt | ||
Units.flitter.js | ||
yarn.lock |
noded/backend
Requirements to develop
- Node.js 14.x
- MongoDB 4.x
Setting up develop
- Clone this repo
- Copy
example.env
to.env
- Edit
.env
- Change
LOGGING_LEVEL
to7
- Change database information, if necessary
- Change
ENVIRONMENT
todevelopment
- Change
UPLOAD_DEFAULT_STORE
toflitter
- You can leave this as
s3
if you specify an S3-compatible API and credentials.
- You can leave this as
- Change
- 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.
- I like to use
- To access the shell for debugging & testing, run:
node --experimental-repl-await flitter shell