An aid to visualising PCM wave files
Make sure you have the latest packages installed
npm install bower install
Note: If you don't have
npm installed, make sure you have
node installed. If you don't have bower,
npm install -g bower.
Running the server
You can run your app using
grunt preview. This will start a
localhost:8000, meaning you can simply go to the
while it's running.
If you'd like to run the compiled version, run
Building the application
grunt by itself will run through all of the steps of
Working with the scaffolded app
There's just enough to in place to get you going. Go ahead
and make your changes to
index.htm. You'll start your
app/main.js by requiring your first
modules. Past that, well, the world is your oyster.
Note: you need phantomJS to run the tests.
The test directory uses
qunit, which is run using phantomJS
in the console, but can also be ran by launching the server
grunt preview and going to
Create tests in the
test/tests.js file, where you can
require your modules and test their functionality.
Deploying your application on a server
Assuming you're already ran
npm install and
the only pieces required to run the application in its built
state is running
If you're using a webserver like apache or nginx, you'll want
to create a redirect from
/dist/require.js. (Note: this is exactly what
grunt preview-live does)