From bde407434fcc5d608e57f359a1d14675b8a82f28 Mon Sep 17 00:00:00 2001 From: Andrew Trieu Date: Thu, 12 Dec 2024 15:43:43 +0700 Subject: [PATCH] Update documentation --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 65635c1..b75dac9 100644 --- a/README.md +++ b/README.md @@ -67,12 +67,6 @@ Steps: npm run infra:deploy ``` -(Optional) To populate the database with sample data, run the following command: - -```bash -sls invoke local function -f populateSeedData -``` - 2. Deploy the backend using the Serverless Framework. Run the following commands: ```bash @@ -81,6 +75,12 @@ npm install npm sls:deploy ``` +(Optional) To populate the database with sample data, run the following command: + +```bash +sls invoke local function -f populateSeedData +``` + 3. Deploy the frontend using Amplify. It is recommended to use Amplify Console for this. Follow the instructions in the Amplify Console to deploy the frontend. Set the following environment variables in the Amplify Console to the values created in System Manager's Parameter Store: - `NEXT_PUBLIC_API_BASE_URL`