/forms-angular-website

The forms-angular website

Primary LanguageCSS

#forms-angular website Website to demonstrate and document forms-angular libraries.

The live version is hosted on a free Heroku dyno, using a free MongoHQ (now known as Compose) sandbox. Same applies to the beta version which is likely to be much closer to what you see in this repo.

##Development and Troubleshooting To run this website project on your development environment, please follow these steps:

Note: Check the node version in the .node-version file to see which version of node this project is using.

  1. Copy the example configuration files and change any config parameters appropriate to your environment (e.g. mongo server, database, etc.).
cp lib/config/env/test.js.example lib/config/env/test.js
cp lib/config/env/development.js.example lib/config/env/development.js
  1. Run npm and bower packages installs
npm install
bower install
  1. Run node_modules/protractor/bin/webdriver-manager update

  2. node-imagemagick uses a default path for the 'convert' and 'identify' utilities that cannot be modified from the imagemagick-stream library. You may need to perform a symlink to these tools' hardcoded paths in order to get imagemagick to work. These instructions may apply to you if you use automated tools (e.g. Boxen) to configure your environment using non-default paths.

sudo mkdir -p /usr/local/bin
cd /usr/local/bin
sudo ln -s `which convert` convert
sudo ln -s `which identify` identify

In case of problems with specific formats resulting in the following error:

convert: no decode delegate for this image format

...please check the following question on stackoverflow for answers.

##TODO

  • Suggested upgrade from node-imagemagick to gm, take into account imagemagick-stream's dependencies.
  • Contributions, especially corrections / additions to documentation, are very welcome.