The web frontend for the DataCite Fabrica service.
You will need the following things properly installed on your computer.
- Git
- Node.js (with NPM) - 18.x
- Ember CLI - 3.24
- Yarn Classic - 1.29.x
git clone <repository-url>
this repositorycd bracco
cp .env.example .env
yarn
yarn ember serve
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
ember build
(development)ember build --environment production
(production)
The application as Docker containers via GitHub Actions and AWS Fargate.
server {
server_name example.org;
listen 8080;
set $frontend http://example.org.s3.amazonaws.com;
index index.html;
location / {
try_files $uri $uri/ /index.html;
proxy_pass $frontend;
}
location /assets {
proxy_pass $frontend;
}
Cloudfront (using terraform)
custom_error_response {
error_code = "404"
error_caching_min_ttl = "5"
response_code = "200"
response_page_path = "/index.html"
}
- Fork the project
- Write tests for your new feature or a test that reproduces a bug
- Implement your feature or make a bug fix
- Do not mess with Rakefile, version or history
- Commit, push and make a pull request. Bonus points for topical branches.
bracco is released under the MIT License.