reservation-admin-rest-ember-generator
v0.10.6
Published
sails generate reservation-admin-rest-ember-generator
Downloads
8
Maintainers
Readme
sails generate reservation-admin-rest-ember-generator
A reservation-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.
This generator is to be used in before running the following admin generator: admin-rest-ember-generator.
###Note .sailsrc This file will be overwritten so make sure you run this generator at the start of you sails project.
Installation
$ npm install reservation-admin-rest-ember-generator
###In development remember, please set the following on sailsrc:
{
"generators": {
"modules": {
"reservation-admin-rest-ember-generator":"reservation-admin-rest-ember-generator",
"admin-rest-ember-generator":"admin-rest-ember-generator",
"ember-blueprints":"sails-generate-ember-blueprints"
}
}
}
###On installation from npm, please set the following on sailsrc:
{
"generators": {
"modules": {
"reservation-admin-rest-ember-generator":"reservation-admin-rest-ember-generator",
"admin-rest-ember-generator":"admin-rest-ember-generator",
"ember-blueprints":"sails-generate-ember-blueprints"
}
}
}
###Run the 'reservation-admin-rest-ember-generator' generator like this:
sails generate reservation-admin-rest-ember-generator advanced --force
The call above passes the arguments "advanced" and "--force" to the "sails-generate-ember-blueprints" generator
This generator npm installs "admin-rest-ember-generator" which should be run soon after with the following command:
sails generate admin-rest-ember-generator advanced --force
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
To configure the "admin-rest-ember-generator" 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.