Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Bitbucket Repository: https://bitbucket.org/fleetph/fleet-forms/src/master/

Developer Setup

...

Requirements

  • Node JS 10+

  • Firebase CLI

  • NPM/Yarn

  • Firebase Console Access

  • Bitbucket Access

...

* suggestion for future developers, use concurrently to run web and API server simultaneously.

Deployment

...

Expand
titleDeployment for Beta environment - Nexus2
  1. Login to the server using the following command

    Code Block
    ssh ctodev@beta.ctoglobal.co
  2. This will prompt you to enter the password. (ask the administrator or your team lead for the password)

    1. Note: I recommend using snowflakes ssh manager. https://github.com/subhra74/snowflake

  3. Once logged in. Navigate to the apps folder.
    cd apps

  4. Then navigate to fleet-forms
    cd fleet-forms

  5. checkout to the branch that you want to deploy
    git checkout beta-branch-name

  6. Update the branch
    git pull

  7. install dependencies
    yarn install

  8. Build the project
    yarn beta:build

  9. Restart Fleet-forms server process
    pm2 restart fleet-forms

  10. Check your deployment @ NEXUS 2

...