Skip to content

Instantly share code, notes, and snippets.

@totten
Last active February 6, 2016 04:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save totten/04a1d9cf6784016b1b0a to your computer and use it in GitHub Desktop.
Save totten/04a1d9cf6784016b1b0a to your computer and use it in GitHub Desktop.
Example changes in ~/.amp/services.yml

amp v0.2 incorporates patches from @openbrian to add Postgres support. I point this out because it required some schema changes to ~/.amp/services.yml. The file should be upgraded automatically, but it’s hard to test a full range of environments. If anything goes wrong...

  • This gist shows an example of services.yml changes (below).
  • Try moving aside ~/.amp/services.yml and rerunning amp config.
  • The old version of amp (0.1.x) is still available at https://download.civicrm.org/amp/amp.phar-2015-03-10-37edb4a6 . To use it, hack bin/civi-download-tools to change the AMP URL.
  • Let me know about any problems.
--- /tmp/a 2016-02-05 20:28:25.000000000 -0800
+++ /tmp/b 2016-02-05 20:28:22.000000000 -0800
@@ -1,7 +1,8 @@
parameters:
- mysql_type: dsn
+ db_type: mysql_dsn
mysql_dsn: 'mysql://root:root@127.0.0.1:3306'
perm_type: osxAcl
perm_user: www
httpd_type: apache
+ version: 2
services: { }
parameters:
db_type: mysql_dsn
mysql_dsn: 'mysql://root:root@127.0.0.1:3306'
perm_type: osxAcl
perm_user: www
httpd_type: apache
version: 2
services: { }
parameters:
mysql_type: dsn
mysql_dsn: 'mysql://root:root@127.0.0.1:3306'
perm_type: osxAcl
perm_user: www
httpd_type: apache
services: { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment