Code Monkey home page Code Monkey logo

camera-trap-api's Introduction

camera-trap-api

Setup the develop environment

1. Clone repository

# host
$ git clone [email protected]:TaiBIF/camera-trap-api.git
$ cd camera-trap-api
$ npm install

2. Install redis server

We use a task queue based on redis.

$ brew install redis

3. Install libraries

We use gm, so that we need install graphicsmagick or imagemagick.

$ brew install graphicsmagick

4. Running it locally

$ npm start

Commands

Create collections and indexes of all models.

$ node . -c

Insert database default data.

Don't run this command twice.

$ node . -i

Create MediaConvert job template.

Please remove the old template by yourself.

$ node . -m

Update annotation time of all projects.

Update 'latestAnnotationTime' and 'oldestAnnotationTime' of all projects.

$ node . -u

Branching strategy

  1. master: main development branch. No CI workflow connected.
  2. dev: Merge into master when ready.
  3. feature/[title]: feature working branch. Will merge into dev when complete. Should be deleted once merged into dev.
  4. prod: production version.

Local Develop By Docker

start container

docker-compose up

Note

camera-trap-api's People

Contributors

ckotwn avatar dca avatar dependabot[bot] avatar jeremy60607 avatar kelp404 avatar moogoo78 avatar onetail avatar rwu823 avatar ts00617355 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.