Skip to content

singletonsd/intellidrone-apis-old

Repository files navigation

INTELLIDRONE API

The main repository is hosted in gitlab.com/intellidrone/api but it is automaticaly mirrored to github.com and to gitlab.com/intellidrone/apis/old. If you are in the Github page it may occur that is not updated to the last version.

BRANCHING MODEL


  • Default branch when pull is DEVELOP.
  • Master branch is protected and it is not possible to push. Create a merge request instead.

DEPLOYMENT


  • MASTER BRANCH: it creates a docker image with node with the tag intellidrone/api:latest and it applies node server in webagro production server.
  • DEVELOP BRANCH: it creates a docker image with node with the tag intellidrone/api:develop and it applies node server in webagro development server.

UPLOAD TO PRODUCTION


To upload code in production, you must have a gitlab user credentials and server public key in base64 format. Then, executes the following code:

./upload_to_node_server.sh production USER PASSWORD

To upload code in development, use the following:

./upload_to_node_server.sh development USER PASSWORD

DOCKER IMAGES


The image name is: intellidrone/api. Available TAGs:

  • latest: from master branch.
  • develop: from develop branch.

© Singleton, Argentina, 2018.

About

API in NodeJS using MongoDB for the database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published