def install_utils(admin_user='******'): """ Installs utilities on the target VPS """ print(blue('set target user: {}'.format(admin_user))) env.user = admin_user print(blue('curl, htop, git')) utils.deb.install('curl') utils.deb.install('htop') utils.deb.install('git') print(blue('github and bitbucket ssh handshake')) ssh.services_handshake() print(blue('zsh installation')) zsh.install() print(blue('nodejs installation')) node.install() print(blue('vim installation')) vim.install() print(blue('postgreSQL installation and role creation')) postgresql.install() postgresql.create_user()
def install_utils(admin_user='******'): """ Installs utilities on the target VPS """ print(blue('set target user: {}'.format(admin_user))) env.user = admin_user print(blue('curl, htop, git, tig')) if platform.system().lower() != 'darwin': utils.os_commands.install('curl') utils.os_commands.install('git') utils.os_commands.install('htop') utils.os_commands.install('tig') print(blue('github and bitbucket ssh handshake')) ssh.services_handshake() print(blue('zsh installation')) zsh.install() print(blue('nodejs installation')) node.install() print(blue('vim installation')) vim.install() print(blue('postgreSQL installation and role creation')) postgresql.install() if platform.system().lower() != 'darwin': postgresql.create_user()
def initial_setup(): """ Installs basic utilities """ print(green('curl, htop, git, tig')) utils.deb.install('curl') utils.deb.install('htop') utils.deb.install('git') utils.deb.install('tig') print(green('github and bitbucket ssh handshake')) ssh.services_handshake() print(green('zsh installation')) zsh.install() print(green('vim installation')) vim.install()
def wordpress_setup(): """ Installs utilities on the target VPS with a Wordpress flavor""" print(blue('initial setup')) init() print(blue('github and bitbucket ssh handshake')) ssh.services_handshake() print(blue('zsh installation')) zsh.install() print(blue('vim installation')) vim.install() print(blue('git', 'curl, htop')) utils.deb.install('git') utils.deb.install('curl') utils.deb.install('htop')