* gitignore updated with correct dist folder

* auth welcome message changed
* deploy script fixed
* paths changed for live auth page
* nested set implementation in backend rewquired frontend indent change aswell
This commit is contained in:
Danyi Dávid
2018-11-17 22:43:46 +01:00
parent 69ff846f1f
commit 9e8d2e621d
7 changed files with 14 additions and 22 deletions

View File

@@ -5,7 +5,6 @@ require 'recipe/common.php';
// Configuration
// set('repository', 'git@domain.com:username/repository.git');
set('shared_files', []);
set('shared_dirs', []);
set('writable_dirs', []);
@@ -16,17 +15,17 @@ set('default_stage', 'production');
host('lxuz.hu')
->stage('production')
->user('latuzcs_beik_frontend_access')
->user('benkeg_gulbaba_frontend_access')
->forwardAgent()
->set('ng_target', 'production')
->set('ng_environment', 'gulbaba')
->set('deploy_path', '/var/www/clients/client5/web19/deploy');
->set('deploy_path', '/var/www/clients/client4/web37/deploy');
// Tasks
desc('Prepare release');
task('deploy:ng-prepare', function() {
runLocally("ng build --target={{ng_target}} --environment=prod --output-path=dist-{{ng_environment}}");
runLocally("ng build frontend --prod --output-path=dist-{{ng_environment}}");
runLocally("tar -C dist-{{ng_environment}} -cJf dist-{{ng_environment}}.tar.xz .");
});