I hereby claim:
- I am axoplasm on github.
- I am axoplasm (https://keybase.io/axoplasm) on keybase.
- I have a public key ASAZS39mQL2CjEJW2mdhMf6MTWbQf_sXT-VxFCStkcwEIgo
To claim this, I am signing this object:
* [Install MySQL] | |
* [ensure PHP is loaded] | |
* [add local hostname in /private/etc/hosts] | |
* [add local vhost /private/etc/apache2/conf/httpd-vhosts.conf] | |
* Download latest alpha from https://drupal.org/node/3060/release | |
* create sites/default/files | |
$ mkdir sites/default/files | |
* copy settings.php | |
$ cp sites/default/default.settings.php sites/default/settings.php | |
* clear perms for sites/default |
I hereby claim:
To claim this, I am signing this object:
I had a large client framework extending my personal boilerplate that was taking upwards of 10seconds to compile with standard Ruby Sass. This framework had minimal dependencies:
I used Bundler to manage Ruby dependencies and ran tasks with Grunt — mainly compiling Sass via grunt-contrib-compass, and previewing with live-reload. Simple stuff.
But 10seconds was an unacceptable performance hit for me. I typically keep my monitor split in half (using Spectacle ), with a browser on one half and MacVim on the other. With Live Reload running I get a nearly realtime preview of my work … except for that one client framework, where I was gettin
I had trouble getting both Vim and MacVim to use the same Ruby executable, which is necessary to use the command-t plugin. The cannonical MacVim homebrew recipe hardlinks to /usr/bin/ruby
while (terminal) Vim will use the system executable (whatever it is). If you install Ruby via homebrew it installs in /usr/local/bin/ruby
.
$ brew install ruby # install most recent ruby (2.3.x)
$ brew uninstall vim
$ brew uninstall macvim
$ brew install vim
$ brew tap macvim-dev/macvim # dev branch of macvim, has better tap config
This is much harder than it needs to be.
See here and here. This issue won’t help.
(venv) $ ./manage.py dumpdata --indent=4 --natural-primary --natural-foreign -e contenttypes -e auth.Permission -e wagtailcore.groupcollectionpermission > dumpfile.json
very good documentation at https://docs.lando.dev/drupal/
$ lando init
.lando.yml
:name: myproject
recipe: drupal7
settings.local
or other means:import os
os.environ.setdefault('DEVELOPMENT_MODE', 'True')
os.environ.setdefault('DEBUG', 'True')