| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This project shows how to use requirejs, jasmine-node and karma.
To run this project, do one of the three things:
Here are the various requirejs files:
There are numerous ways to run karma and grunt.
If you run karma in interactive mode you can edit your files and see the results of each change. If you run and exit, you see if your tests and code, in the current state, all pass.
python3 -m http.server 30025
One the server is up and running, just browse to: http://localhost:30025
You will want to install karma, grunt and jasmine-node globally.
If on Linux, first do this:
npm config set prefix ~/npm
Then add this to your .bashrc:
export PATH="$PATH:$HOME/npm/bin"
To install karma globally:
npm install -g karma-cli npm install -g grunt-cli npm install -g jasmine-node npm install -g nodemon
| Back | FazBrowse Home | New Git URL |