admin-rest-ember-generator
v0.10.19
Published
sails generate admin-rest-ember-generator
Downloads
18
Maintainers
Readme
sails generate admin-rest-ember-generator
A admin-rest-ember-generator
generator for use with the Sails command-line interface.
Certain generators are installed by default in Sails, but they can be overridden. Other generators create entirely new things. Check the Sails docs for information on installing generator overrides / custom generators and information on building your own generators.
###Note .sailsrc This file will be overwritten so make sure you run this generator at the start of you sails project.
###In development remember, please set the following on sailsrc:
{
"generators": {
"modules": {
"admin-rest-ember-generator":"/Volumes/Documents (Shared)/Personal/Tutorials/sails/zuru-server-adminlte/zuru-admin",
"ember-blueprints":"sails-generate-ember-blueprints"
}
}
}
###On installation from npm, please set the following on sailsrc:
{
"generators": {
"modules": {
"admin-rest-ember-generator":"admin-rest-ember-generator",
"ember-blueprints":"sails-generate-ember-blueprints"
}
}
}
###Run the 'admin-rest-ember-generator' generator like this:
sails generate admin-rest-ember-generator advanced --force
The call above passes the arguments "advanced" and "--force" to the "sails-generate-ember-blueprints" generator
Installation
$ npm install admin-rest-ember-generator
Usage
On the command line
$ sails generate admin-rest-ember-generator
Development
To get started quickly and see this generator in action, ...
Also see CONTRIBUTING.md
for more information on overriding/enhancing existing generators.
Deployment
On deployment to production
Be sure to go to config waterlock.js and change the baseUrl and forwardUrl to the production domain. This is where the settings for password reset and json webtokens are found.
For new registrations, go to config/zuru.js and change the appUrl to the front end address for confirming your passwords. This is where the settings for the mail sent and template used are found.
Questions?
See FAQ.md
.
More Resources
License
MIT © 2016 balderdashy & contributors
As for Sails? It's free and open-source under the MIT License.