This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
| # Cordova Global | |
| plugins/ | |
| # iOS Platform | |
| platforms/ios/build/ | |
| platforms/ios/www/ | |
| platforms/ios/cordova/console.log | |
| *.xcuserdatad | |
| # Android Platform |
| # To enable CORS you should add lines with CORS rules below to your valet.conf file | |
| # Find the file /usr/local/etc/nginx/valet/valet.conf - this is Valet conf for Nginx | |
| # of try to execute `locate valet.conf` and find the `valet.coinf` in `nginx` subdirectory | |
| # after you edit your valet.conf do not forget to execute `valet restart` | |
| server { | |
| listen 80 default_server; | |
| root /; | |
| charset utf-8; | |
| client_max_body_size 128M; |
| <snippet> | |
| <content><![CDATA[ | |
| <form method="${1:POST}" action="${2:/}"> | |
| ${3:{{ csrf_field() \}\}} | |
| <div class="form-group"> | |
| <label for="${4:name}">${5:Name}:</label> | |
| <input type="text" class="form-control" name="${4:name}" id="${4:name}" ${6:required }value="${7:{{ old('${4:name}') \}\}}"> | |
| </div> | |
| /* | |
| This is my composer.json file for http://reload.github.io/phing-drupal-template/ | |
| after the save to the drupal root directory | |
| composer install | |
| using phing: | |
| ./vendor/phing/phing/bin/phing | |
| see the url above for more commands | |
| */ | |
| { | |
| "require-dev": { |
| git clone --branch 7.x http://git.drupal.org/project/drupal.git | |
| cd drupal | |
| drush si --db-url=mysql://root:password@localhost/drupal_dev --locale=hu | |
| cd sites/all/modules/ | |
| mkdir custom contrib features ../libraries | |
| drush dl -y views admin_menu features pathauto token panels panels_everywhere ctools l10n_update media markdown markdowneditor strongarm devel views_bulk_operations jquery_update ds rules module_filter | |
| drush en -y views_ui admin_menu admin_menu_toolbar features pathauto token panels panels_everywhere ctools l10n_update media markdown markdowneditor strongarm devel views_bulk_operations jquery_update panels_mini panels_node module_filter rules_admin | |
| drush dis -y overlay toolbar |
| <?php | |
| /** | |
| * A helper file for Laravel 5, to provide autocomplete information to your IDE | |
| * Generated for Laravel 5.5.13 on 2017-09-28. | |
| * | |
| * @author Barry vd. Heuvel <[email protected]> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ | |
| namespace { | |
| exit("This file should not be included, only analyzed by your IDE"); |
As configured in my dotfiles.
start new:
tmux
start new with session name: