Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 

emberup

Ember project creator with my default addons:

As well as the following:

Requirements

  • Yarn
  • Ember CLI

Installation

Clone the repo and add emberup/bin to your path.

Usage

emberup myprojectname

Manual Steps

The following steps must done manually after running emberup; they have not yet been scripted.

In config/environment.js, add the following:

   if (environment === 'development') {
     // ENV.APP.LOG_RESOLVER = true;
     // ENV.APP.LOG_ACTIVE_GENERATION = true;
     // ENV.APP.LOG_TRANSITIONS = true;
     // ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
     // ENV.APP.LOG_VIEW_LOOKUPS = true;
+    ENV['ember-cli-mirage'] = { enabled: false };
+    ENV.apiHost = 'http://url.of.your.local.api';
   }

And:

   if (environment === 'production') {
     // here you can enable a production-specific feature
+    ENV.apiHost = 'https://url.of.your.production.api';
   }

In package.json add:

   "ember": {
     "edition": "octane"
+  },
+  "husky": {
+    "hooks": {
+      "pre-commit": "lint-staged"
+    }
+  },
+  "lint-staged": {
+    "*.js": "eslint",
+    "*.hbs": "ember-template-lint"
   }
 }

License

Apache-2.0

About

Create an Ember app pre-configured for OAuth 2 authentication, plus testing addons

Topics

Resources

Releases

No releases published

Packages

No packages published