You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorycd amber-ui
yarn install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
to run tests after every file change
For the generation of test data, we use ember-cli-mirage. Data is created in factories and randomized using Faker.
To preview generated data in the browser, set ENV['ember-cli-mirage'].enabled
to true
for
development in config/environment.js
. The content generated for development is described in mirage/scenarios/default.js
.
yarn lint
yarn lint:fix
ember build
(development)ember build --environment production
(production)
Deployments are done using GitHub Actions. To deploy a branch, follow the following steps:
- Go to the Continuous Delivery workflow page.
- Open the "Run workflow" modal.
- Choose a branch and if you want to merge the changes on the staging branch into the master branch (only possible when the branch chosen in previous step is master).
- Click the green button "Run workflow".