Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Re-rememberPET
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PET Computação
Re-rememberPET
Commits
f7c4e464
Commit
f7c4e464
authored
6 years ago
by
Wellington Gabriel Vicente de Souza
Browse files
Options
Downloads
Patches
Plain Diff
add script to initialize a C9 workspace, incomplete
parent
feafd959
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
remember_laravel/init-C9.sh
+24
-0
24 additions, 0 deletions
remember_laravel/init-C9.sh
with
24 additions
and
0 deletions
remember_laravel/init-C9.sh
0 → 100755
+
24
−
0
View file @
f7c4e464
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment