-
-
Save calebeoliveira/1d7cdf217366dbd3c687 to your computer and use it in GitHub Desktop.
Basic PHP5 development stack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ install chrome }} | |
sudo apt-get update && sudo apt-get upgrade | |
sudo apt-get install git curl nodejs nodejs-legacy npm ruby-sass php5 php5-pgsql php5-json php5-curl php5-mcrypt postgresql phppgadmin phpunit -y | |
sudo npm install -g gulp bower jshint node-sass | |
sudo npm rebuild node-sass | |
sudo php5enmod mcrypt | |
echo "Include conf.d/phppgadmin" | sudo tee -a /etc/apache2/apache2.conf | |
sudo service apache2 restart | |
curl -sS https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/local/bin/composer | |
sudo su - postgres | |
psql | |
CREATE USER forge WITH PASSWORD 'forge'; | |
CREATE DATABASE "project"; | |
GRANT ALL PRIVILEGES ON DATABASE "project" to forge; | |
\q | |
exit | |
ssh-keygen -t rsa | |
{{ press enter, type password, type again }} | |
cat ~/.ssh/id_rsa.pub | |
{{ copy and add to bitbucket }} | |
git clone {{ project url }} | |
cd project_folder | |
composer install | |
{{ solving gulp ENOSPC fatal error on "gulp watch" elixir command }} | |
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo npm install -g cordova ionic | |
{{ todo }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ install Sublime Text 3 }} | |
{{ install Package Control }} | |
Plugins: | |
> Auto Semi-Colon | |
> BracketHighlighter | |
> DocBlockr | |
> Emmet | |
> Git | |
> GitGutter | |
> Laravel 4 Artisan | |
> Laravel Blade Highlighter | |
> Sass | |
> SidebarEnhacements | |
> SimplePHPUnit | |
> SublimeCodeIntel | |
> SublimeLinter | |
> SublimeLinter-jshint | |
> SublimeLinter-php | |
> TrailingSpaces | |
{{ Install theme and color scheme }} | |
http://buymeasoda.github.io/soda-theme/ | |
Theme: Soda Dark 3 | |
Color scheme: Monokai Soda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment