First, install the Sass, Font Awesome, bootstrap(and deps) package:
cd assets
- npm install --save-dev sass-brunch
- npm install --save font-awesome
| FROM crystallang/crystal:0.27.2 | |
| WORKDIR /opt/src | |
| # Install nodejs | |
| COPY bin ./bin | |
| RUN bin/nodesource_11.x | |
| RUN apt-get update && apt-get install -y nodejs | |
| # npm install |
| defmodule Ael.Secrets.API do | |
| def get_secret_url(secret) do | |
| %Secret{ | |
| action: action, | |
| expires_at: expires_at, | |
| bucket: bucket, | |
| resource_id: resource_id, | |
| resource_name: resource_name | |
| } = secret |