# <%= name %>
<%= description %>

## Octo Documentation
[Official Docs](http://octo.quadnix.com/)

## Installation
```bash
npm install
```

## Fix me
Before running the app, ensure,
- `.env` values are appropriately set.

## Development
```bash
# Build app. This will compile your TypeScript code.
npm run build

# Run app. This will create the infrastructure defined in your app.
npm start
```

## Destroy
### Step 1
In `module-definitions.ts`, comment out all modules except the `app` and `account` modules.
The app and account modules load AWS credentials to call AWS APIs, hence they remain uncommented.

By deleting the `s3-website-service-module` module below,
you are safely deleting the s3-website resources created by this module.

```typescript
// Example for 'aws-s3-website' template.
private init(): void {
  this.add(SimpleAppModule, 'app-module', { name: 'aws-s3-website' });

  this.add(AwsIniAccountModule, 'account-module', {
    accountId: config.AWS_ACCOUNT_ID,
    app: stub<App>('${{app-module.model.app}}'),
  });

  // this.add(AwsS3StaticWebsiteServiceModule, 's3-website-service-module', {
  //   account: stub<Account>('${{account-module.model.account}}'),
  //   awsRegionId: 'us-east-1',
  //   bucketName: config.AWS_S3_WEBSITE_BUCKET_NAME,
  //   directoryPath: websiteSourcePath,
  // });
}
```

### Step 2
Then, simply re-build and run your app again.

```bash
npm run build
npm start
```
