Deployment management toolset for PlateauMed.
-- coming soon --
To set up the codebase for local development follow the steps below.
• Ensure core development tools like git and Node are set up on your machine
• Install lerna
npm i -g lerna
• Clone the git repository
git clone https://github.com/Plateaumed/depad.git
• In the root directory install project dependencies
cd depad && npm i && lerna bootstrap
You can install Depad either from npm
or from your local codebase.
• After setting up the codebase on your local machine, you can install the Depad CLI tool by running
lerna run install:dev --scope=@depad/cli
• Alternatively, you can install the Depad CLI tool from npm
npm i -g @depad/cli
• Get the Depad API server up and running on a specified port
depad start -p 3000
• To stop the Depad API server use the usual Ctrl
+ C
command on the terminal.
• With the Depad API up and running you can now run other Depad commands in another terminal. For instance, to get version:
depad version
• To run tests in all packages
lerna run test
• To run tests in a specified package (for instance, in the @depad/cli
package)
lerna run test --scope=@depad/cli