Skip to content

Instantly share code, notes, and snippets.

@webfacer
Last active July 10, 2020 13:26
Show Gist options
  • Save webfacer/1a166a5fc45d8baac8dd418875adb9f1 to your computer and use it in GitHub Desktop.
Save webfacer/1a166a5fc45d8baac8dd418875adb9f1 to your computer and use it in GitHub Desktop.
typo3+laravel/homstead installation
#!/bin/sh
# If you would like to do some extra provisioning you may
# add any commands you wish to this file and they will
# be run after the Homestead machine is provisioned.
#
# If you have user-specific configurations you would like
# to apply, you may also create user-customizations.sh,
# which will be run after this script.
# If you're not quite ready for Node 12.x
# Uncomment these lines to roll back to
# v11.x or v10.x
# Remove Node.js v12.x:
#sudo apt-get -y purge nodejs
#sudo rm -rf /usr/lib/node_modules/npm/lib
#sudo rm -rf //etc/apt/sources.list.d/nodesource.list
# Install Node.js v11.x
#curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
#sudo apt-get install -y nodejs
# Install Node.js v10.x
#curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
#sudo apt-get install -y nodejs
# Typo3 need some php modules which are not installed and will need to install it manual or over the homstead/after.sh file
sudo apt-get install jpegoptim
sudo apt-get install optipng
sudo apt-get install gifsicle
sudo npm i -g svgo
# only use if you have a existing DB which you want to be installed when you do "vagrant up"
#gunzip < ~/code/yourProjectPath/database_backup/yourDBbackupFile.sql.gz | mysql yourProjectDB
# Import Database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment