Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gerritversteegh authored Sep 4, 2024
1 parent 0339de3 commit 557731c
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions nlcs-acceptance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,34 +22,3 @@ Run the following command from within the [/app](./app) directory:
```bash
docker-compose up
```

### Configuring for AWS deployment

Once the application has been properly set up and the client- and server configuration files have been tested, make sure to update the `build.xml`. This file is used during building and deploying and should be updated with the appropriate values.

Open the `build.xml` file, and update the following parameters:

- **viewer.name**: Short name of the viewer instance (used in naming AWS resources)
- **viewer.version**: Version identifier (only used in naming AWS resources - so not in-app or Docker image selection)
- **viewer.hostname**: The (full) URL of the viewer, like `https://semmtech.ldviewer.com` (no trailing slash)
- **environment.id**: The ElasticBeanstalk environment ID, e.g. `e-awv7bm4k55`
- **environment.name**: The ElasticBeanstalk environment name, e.g. `semmtech-viewer-env`


### Uploading version to AWS

This step is only intended for setting up the application environment directly in AWS and is inteded for admins only.

In order to upload a Elastic Beanstalk application version to AWS, run the following command.

```bash
aws-vault exec PROFILE -- ant upload
```

Should you also directly want to update a running environment, you could instead use:

```bash
aws-vault exec PROFILE -- ant update
```

Make sure you have properly set up the AWS Vault and have the necessary permissions on the AWS semmtech-io account. Check with IT if you have any doubts.

0 comments on commit 557731c

Please sign in to comment.