A widget for creating embeddable playlists.
This is a module designed to be used with nypr-toolkit. See that readme for details on setting up a toolkit instance to work with modules.
You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorycd nypr-playlist
yarn install
Config Value | Description |
---|---|
AWS_ACCESS_KEY_ID |
Access key to AWS account. |
AWS_SECRET_ACCESS_KEY |
Secret access key to AWS account. |
AWS_PROFILE |
For local AWS profile setup. |
AWS_REGION |
Region for AWS account. |
AWS_BUCKET |
Bucket for AWS S3. |
AWS_PREFIX |
Prefix for AWS bucket. |
PUBLISHER_API |
URL for Publisher API. |
THEMES |
URL for Themes. |
PLATFORM_EVENTS_SERVICE |
URL for the platform events collector endpoint. |
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Installation Success:
Initial state should display "Fill out the fields and your preview will appear here"
- Title: The Playlist title
- Blurb: A blurb describing the playlist.
- Stories: A comma separated string of story slugs.
- Brand: A theme.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
yarn lint:js
yarn lint:js --fix
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.