Skip to content
Snippets Groups Projects
Commit f7c4e464 authored by Wellington Gabriel Vicente de Souza's avatar Wellington Gabriel Vicente de Souza
Browse files

add script to initialize a C9 workspace, incomplete

parent feafd959
No related branches found
No related tags found
No related merge requests found
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update
sudo apt-get install libapache2-mod-php7.1 -y
sudo a2dismod php5
sudo a2enmod php7.1
sudo apt-get install php7.1-curl php7.1-cli php7.1-dev php7.1-gd php7.1-intl php7.1-mcrypt php7.1-json php7.1-mysql php7.1-opcache php7.1-bcmath php7.1-mbstring php7.1-soap php7.1-xml php7.1-zip -y
wget https://dev.mysql.com/get/mysql-apt-config_0.8.9-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.9-1_all.deb
sudo service apache2 restart
sudo apt-get update
sudo apt-get install mysql-server -y
sudo service mysql restart
sudo mysql_upgrade
rm mysql-apt-config_0.8.9-1_all.deb
cp .env.example .env
sudo mysql --user="root" -e "CREATE DATABASE laravel character set UTF8mb4 collate utf8mb4_bin;"
sudo composer install
sudo composer update
php artisan key:generate
php artisan migrate --seed
php artisan storage:link
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment