Integration examples of Famo.us + AngularJS
##Running
- Make sure that you have npm installed
- In your terminal, run
npm install -g serve
- In your terminal, change your directory to famous-angular-examples/app
- In your terminal, run
serve
You should then be able to open the examples at http://localhost:3000
- Make sure that you have npm installed
- In your terminal, run
npm install -g gulp
- In your terminal, run
npm install
to install package dependencies, including bower dependencies - In your terminal, from the famous-angular-examples base directory, run
gulp
You should then be able to open the examples at http://localhost:4000
(if you want to make changes to the main famous-angular library and have those changes take effect live in this examples project)
- Make sure that you have npm installed
- Check out the main Famo.us/Angular repository, following the instructions in its README.md
- In your terminal, change directory to the famous-angular-examples directory that's INSIDE of the famous-angular directory. If you followed the library setup examples in the README.md, the famous-angular-examples submodule should be initialized and ready to go.
- In your terminal, run
npm install
to install package dependencies, including bower dependencies - Back in the main famous-angular directory, run
npm install
- Ensure you have gulp installed with
npm install -g gulp
- From the main famous-angular directory, run
gulp dev
Then open http://localhost:4000 in your browser.
####Troubleshooting
If nothing loads try changing the default server port in gulpfile.js and re-run gulp
.