A web frontend to the DataCite DOI Fabrica service.
You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorycd bracco
cp .env.example .env
npm install
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
ember build
(development)ember build --environment production
(production)
The application is deployed to Amazon S3 via Travis CI. See .travis.yml
for the configuration.
Assets are served from S3, everything else is redirected to index.html
so that the Ember router
can handle all requests:
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.