![]() Run the command serve -s -p 8080 dist/ to run the webapp locally on port 8080.Run the command npm run build to create a production build for the frontend in the dist/ folder.This functionality is not in the current build and will be enabled in a future build. To run this locally use the following steps instead of 4. Note: The avatar notification relies on service workers that are activated only in production build. Run the command npm run dev to run the webapp locally.Note: These values are from steps 3 and 8 in the Backend Setup section. Add the values for your endpoints and region that you copied from the backend setup and save the file. Edit the file src/services/AWSConfig.js.Run the command npm install to install dependencies.Navigate to the serverless-trivia-game/frontend directory.These steps will configure the Qwizardly UI to utilize the features deployed during the Backend Setup. As Vuetify continues their release, this repo will be updated to bring the UI in line with the prior version. As such, some features may appear different than in the prior release. ![]() Frontend Setup Note about the front end: There are many changes that needed to occur for security patching, including an upgrade to Vue3 and the use of Vuetify 3 Beta. If it does, navigate to the AWS CloudFormation page, find the sts stack and click on the Outputs tab to get these values. Note: The token for CloudFormation may timeout. You will need these to setup Simple Trivia Service's user interface. Copy the outputs from the sam deploy command.AUTO_EXPAND is required to support SAM Nested Templates, which this project includes. Note: The project requires CAPABILITY_NAMED_IAM and CAPABILITY_AUTO_EXPAND. The following options are presented during this step: Run the command sam deploy -guided -capabilities CAPABILITY_NAMED_IAM CAPABILIYT_AUTO_EXPAND to start the deployment of the application.This is used to compile your functions in a Docker container that behaves like a Lambda environment, so they're in the right format when you deploy them to the AWS Cloud. Run the command sam build -use-container to package the application.Navigate to the serverless-trivia-game/backend directory. ![]() When the script is finished, you should be in the directory serverless-trivia-game. This script will build 2 layers, which are required for the project, as well as installing Node.JS dependencies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |