Smug is a command line utility for Linux operating systems that support the APT package management system (Ubuntu, Debian, and Mint, by default).
It supports the automated installation/update of some software, such as PHP 7.2, PHPMyAdmin, NPM, MongoDB, Node.js and Laravel 5.5 LTS Installer in the Cloud9 workspaces.
Smug was not designed to be installable, for simplicity. Is only a Shell Script.
$ git clone https://github.com/cristiancmello/smug.git
$ ./smug --help
- Install/Update PHP 7.2, PHPMyAdmin, Laravel 5.5 LTS Installer (through Composer Package Manager) and NPM:
$ ./smug --prepare --laravel-all
-
Installing individually:
- Install PHP 7.2 (with php7.2-sqlite3 and php7.2-mysql):
$ ./smug --prepare --php7.2
- Install PHPMyAdmin (MySQL connection, by default):
$ ./smug --prepare --phpmyadmin
- Install Laravel 5.5 LTS Installer:
$ ./smug --prepare --laravel-installer
- Install/Update NPM:
$ ./smug --prepare --npm
- Install/Update Node.js 8.11.1 LTS:
$ ./smug --prepare --node
- Create Laravel Project (with Cloud9's public index folder path configuration):
$ ./smug --create --laravel-project --public-index-folder <project_name>
- Create Laravel Project (without Cloud9's public index folder path configuration):
$ ./smug --create --laravel-project <project_name>
- Configure Cloud9's public index folder path:
$ ./smug --configure --public-index-folder <folder_name>
- Install MongoDB 2.6.12:
$ ./smug --prepare --mongo
- Start MongoDB service:
$ ./smug --start mongo
- Shutdown MongoDB service:
$ ./smug --shutdown mongo