Because this workshop is limited on time please make sure to check off these steps as soon as possible before the start of the workshop. If you have any questions you can get in touch with Fernando through any of the methods listed here. During the workshop, just ask him for help.
- Create an AWS Account
- Sign into the AWS Console
- Create a Serverless Dashboard account
- Install Node.js and npm
- Install or update the Serverless Framework:
npm install -g serverless
npm update -g serverless
- Setup an AWS Access Role in the Serverless Dashboard
- I’d suggest doing the following to save yourself some time on the next step:
- If possible, set Chrome or Firefox as default browsers (there are possible issues with Safari)
- You can turn your adblockers and NoScript back on as soon as the credentials are set locally on your machine after you login.
serverless loginfrom your terminal. This should open up a browser window that asks you to sign in to the Serverless Dashboard. When you finish that process the terminal prompt should automatically move on. If this process fails, or you see error messages around authentication later on try these steps instead:
- Login to the Serverless Dashboard
- Go to the top right corner and click on the dropdown near your organization name
- Click “Personal Access Keys”
- Create an Access Key
- Set an environment variable on your machine called
- Keep going as normal
serverlessfrom your terminal and complete the prompts. Make sure to select your serverless dashboard account.
- When the process is finished, you should change directories into your new service directory with
- Checkoff time! When you’re done with these steps please run
serverless deployand let the instructor see the output. If you accidentally clear the screen too soon you can run
Optional bonus step - Create an Auth0 Account - Create a tenant domain in the US - Click “Create Application” - Click “Single Page Web Applications” and create - Visit the Settings for your app - Copy the Domain and Client ID - Add an allowed callback url of http://localhost:3000