mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
removed back folder
This commit is contained in:
parent
1e9b9302bc
commit
7f1ad4e3bd
@ -211,9 +211,9 @@ module.exports = function(SPlugin, serverlessPath) {
|
||||
.then(function(answers) {
|
||||
|
||||
// Set prompt values
|
||||
_this.S.config.awsAdminKeyId = answers.awsAdminKeyId;
|
||||
_this.S.config.awsAdminSecretKey = answers.awsAdminSecretKey;
|
||||
_this.project.data.name = answers.name;
|
||||
_this.S.config.awsAdminKeyId = answers.awsAdminKeyId;
|
||||
_this.S.config.awsAdminSecretKey = answers.awsAdminSecretKey;
|
||||
_this.project.data.name = answers.name;
|
||||
_this.evt.options.domain = answers.domain;
|
||||
_this.evt.options.notificationEmail = answers.notificationEmail;
|
||||
|
||||
@ -352,7 +352,7 @@ module.exports = function(SPlugin, serverlessPath) {
|
||||
|
||||
// Create Project Scaffolding
|
||||
return SUtils.writeFile(
|
||||
path.join(_this.S.config.projectPath, 'back', '.env'),
|
||||
path.join(_this.S.config.projectPath, '.env'),
|
||||
'SERVERLESS_STAGE=development'
|
||||
+ '\nSERVERLESS_DATA_MODEL_STAGE=development'
|
||||
+ '\nSERVERLESS_PROJECT_NAME=' + _this.project.data.name
|
||||
@ -360,7 +360,6 @@ module.exports = function(SPlugin, serverlessPath) {
|
||||
.then(function() {
|
||||
|
||||
// Create Folders
|
||||
fs.mkdirSync(path.join(_this.S.config.projectPath, 'back', 'modules'));
|
||||
fs.mkdirSync(path.join(_this.S.config.projectPath, 'meta'));
|
||||
fs.mkdirSync(path.join(_this.S.config.projectPath, 'meta', 'private'));
|
||||
fs.mkdirSync(path.join(_this.S.config.projectPath, 'meta', 'public'));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user