Name: menu-o-matic
Owner: marmelab
Description: Create and manage menus using a WYSIWYG interface
Created: 2013-08-22 21:19:47.0
Updated: 2016-02-26 05:59:27.0
Pushed: 2014-08-28 08:16:49.0
Homepage: http://marmelab.github.io/menu-o-matic/
Size: 12782
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Create and manage menus using a WYSIWYG interface. Powered by Packery and Backbone.
Bower dependencies are committed in the repository, so you don't need to setup anything.
Just don't forget to commit them again each time you do a:
wer install
Since the application uses RequireJS to manage dependencies, JavaScript files are loaded in AJAX and can't be served direclty from the filesystem (or the same origin policy fails). Therefore you need to run a server for the application to work, which in OS X is as simple as getting into the application directory and typing:
thon -m SimpleHTTPServer 4000
using the built-in server
m start
Then, browse to http://localhost:4000 and start building your menu.
First, install dependencies and selenium executable:
m install
rl https://selenium.googlecode.com/files/selenium-server-standalone-2.31.0.jar > selenium-server-standalone.jar
Next, start selenium with Firefox
va -jar selenium-server-standalone.jar
Finally, run tests using mocha
, or the built-in test
task:
m test
Firefox is included by default in the selenium-server-standalone-2.21.0.jar
, if you want to use Chrome, download the chromedriver at https://code.google.com/p/chromedriver/downloads/list.
Then, start Selenium with Chrome:
va -jar selenium-server-standalone.jar -Dwebdriver.chrome.driver=/[path-to]/chromedriver
And start tests with the TEST_BROWSER
environment variable set to chrome
:
ST_BROWSER=chrome npm test