Update documentation

This commit is contained in:
2024-12-12 15:43:43 +07:00
committed by GitHub
parent 8468b49c48
commit bde407434f

View File

@@ -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`