Skip to content

Add Custom Hiking Feature

Compare
Choose a tag to compare
@evandbrown evandbrown released this 12 Jul 20:19
· 8 commits to master since this release

Add a /hikes route, corresponding view, and static asset support to serve CSS files. Static assets are configured via a config file in the .ebextensions directory.

Use the New Features

Visit /hikes at your application's URL to see the new feature.

About the New Features

Elastic Beanstalk configuration files (discussed in the documentation allow an Elastic Beanstalk to be customized via code. In this release, we create a .ebextensions/static.config in our application and specify a setting that will allow our app to serve static assets:

option_settings:
  - namespace: aws:elasticbeanstalk:container:nodejs:staticfiles
    option_name: /public
    value: /public

The ZIP file attached to this release can be deployed directly to AWS Elastic Beanstalk.