mozilla / vinz-clortho

INACTIVE - http://mzl.la/ghe-archive - BrowserID Keymaster for LDAP enabled Identity Providers
16 stars 21 forks source link

Get it working from a local vagrant instance #28

Closed mostlygeek closed 11 years ago

mostlygeek commented 11 years ago

This is really a tracking issue for getting the app working from a local vagrant image. We're building off our Mozilla Service Ops, Scientific Linux 6.2 vagrant box. The Vagrantfile is available here: http://svcops-vagrant.s3.amazonaws.com/SciLinux-6.2-x64-v0.3/Vagrantfile. It should auto-download the box.

A few things that need to be done:

mostlygeek commented 11 years ago

re: Key generation

Had an issue installing libgmp on our vagrant image. Mostly to due to version mismatches / strange yum issue. Got around it with:

> yum --enablerepo=sl-fastbugs install gmp-devel

After that had to blow away the node_modules directory and redo npm install. This triggers the bigint to recompile with the native extensions. After that key generation takes < 1 second instead of dozens of seconds.

When dealing with #16 we'll have to see if we have similar issues using our ScientificLinux AMIs.