Skip to content

Instantly share code, notes, and snippets.

@kmgalanakis
Last active June 7, 2019 21:09
Show Gist options
  • Save kmgalanakis/c8f3045e433422cc66f91fcdd6f9f14c to your computer and use it in GitHub Desktop.
Save kmgalanakis/c8f3045e433422cc66f91fcdd6f9f14c to your computer and use it in GitHub Desktop.
Codenvy server setup
#!/bin/sh
apt-get update
echo "\e[96mInstalling git \e[39m"
apt-get install -y git
echo "\e[96mInstalling php \e[39m"
apt-get install -y php
echo "\e[96mInstalling dependencies \e[39m"
apt-get -y install curl php-cli php-mbstring git unzip
echo "\e[96mInstalling node \e[39m"
apt-get -y install nodejs
echo "\e[96mInstalling npm \e[39m"
apt-get -y install npm
echo "\e[96mInstalling composer \e[39m"
cd ~
curl -sS https://getcomposer.org/installer -o composer-setup.php
php composer-setup.php --install-dir=/usr/local/bin --filename=composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment