Update documentation
This commit is contained in:
12
README.md
12
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`
|
||||
|
||||
Reference in New Issue
Block a user