clindsey/marvelSearch - view the demo
- Marvel developer account key [https://developer.marvel.com/account]
- Add your domain to your Marvel developer account's accepted referrer's list
- git
- npm and node
Add your Marvel developer account key [https://developer.marvel.com/account]
cp app/config_example.coffee app/config.coffee
- edit
app/config.coffee
and add your own MarvelapiKey
Install npm and bower packages:
make install
Start the local development server:
make live
Run the tests in the browser:
open http://localhost:8080/test/unit/
Add api key to config:
cp app/config.example.coffee app/config.coffee
edit app/config.coffee
Build a container:
sudo docker build -t marvelSearch .
Run the container:
sudo docker run -d -p 8080:8080 marvelSearch
Visit the app:
open http://localhost:8080/
Stop the container:
sudo docker ps
(find the Container ID)sudo docker stop <first few characters of Container ID>
mocha tests will be available at localhost:8080/test/unit
Work in progress, adding more unit tests.