****************************** * Project command lines e.g. * ****************************** [ Add a new project ] You have 2 ways of creating your project 1st method ---------- $ gina project:add @ [ —-path=/var/www/ ] (if no path given, will take the current) where `/var/www/` is the destination path NB.: `--path` can also be a relative path like `--path=./` or `--path=./` If you do not specifiy a `` for the `--path` argument , gina will reuse the one you used with `@` This command line also supports relative path like `--path=./` $ gina project:add @ [ —-path=/var/www/ ][ --homedir=~/./v2 ] where `~/./v2` is the project homedir path If you do not specifiy a `.` for the `--homedir` argument , gina will reuse the one you used with `@` 2nd method ---------- From current project path : project name will be by default the current project folder name $ gina project:add [ Import an existing project ] Works just like `project:add` task. It will also do some extra checking. $ gina project:import @ [ —-path=/var/www/ ] (if no path given, will take the current) [ List projects ] $ gina project:list [ [ --more ] | [-b | --with-bundles] | [-e | --with-envs] ] [ Start project ] $ gina project:start @ [ --env=dev, --scope=local, --inspect-brk=5000 ] [ Restart project ] Will restart project with the last known environment $ gina project:restart @ [ Stop project ] Will stop all running bundles in the project $ gina project:stop @ [ Remove an existing project ] $ gina project:remove @ [ -f (remove all related sources without prompting) ] [ Rename project ] $ gina project:rename @ @ [ Build project ] $ gina project:build @ --scope=local --env=prod [ Backup project ] N.B.: Only available when ordering for supoort $ gina project:backup @ --path=/var/dump --with-password [ Restore project ] N.B.: Only available when ordering for support $ gina project:restore /var/dump/myproject.tar.gz (will restore in current path) or $ gina project:restore myproject.tar.gz (will restore from current path to current path: myproject.gna must be under the PWD) or $ gina project:restore /var/dump/myproject.tar.gz —-path=/other/path