/ember-boilerplate

It's a base project that moonshot use to start any ember app.

Primary LanguageJavaScript

CI

This repository is an ember octane base that we use to start moonshot projects, it contains some addons and configurations that are indispensable for us when developing an app in Ember.js

Pre installed

If you want to install some other addon in particular to build a specific feature, authentication, form validations, etc, you can visit this page where we list our favorite addons by category.

Code style guide

As we mentioned above we have added some Linting addons, you can visit the pages of each one to learn a little more about their rules, however, we will list some essential ones here.

Here you can also see the moonshot coding style guide where you will find more specific cases.

CI

By default we have added a github workflow for continous integration.

Consists of three jobs, buildAndTests, deploy-staging, deploy-production, they are configured to run on push

The deploys jobs will only be executed in case they match a specific branch, you can condition the specific branch here with which you want to execute the deploy here and here.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd ember-boilerplate
  • yarn install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • yarn lint
  • yarn lint:fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.