Depending on your preferred package manager, follow the instructions below to deploy your project.
Requirements: NodeJS
lts/fermium (v.14.15.0). If you're using nvm, runnvm useto ensure you're using the same Node version in local and in your lambda's runtime.
- Run
npm ito install the project dependencies - Run
npx sls deployto deploy this stack to AWS
- Run
yarnto install the project dependencies - Run
yarn sls deployto deploy this stack to AWS
npm run docker:upnpm run test:initThis generates a .env.test file with the environment variables needed ot run tes tests. You can feed that to your configuration in Intellij.
npm run testnpm run docker:downTo deploy we use serverless framework.
You need to register in this website.
Your application needs to have access to this key.
Generate a .env file and write the following:
COIN_LAYER_ACCESS_KEY=KEY_FROM_APInpx env-cmd -f .env npx serverless deploy --stage dev