This repository contains simple samples, demonstrating the capabilities of ForgeJS.
Prior to the sample execution you have to setup the plugins directory which contains ForgeJS plugins used into the samples
- Create a
pluginsdirectory in the root folder of theforgejs-sampleslocal repository. - Clone the ForgeJS Plugins project.
- Copy and paste the content of the forgejs-plugins repository into the
pluginsdirectory of theforgejs-sampleslocal repository.
Then you have to setup the lib directory which contains the ForgeJS library and all required external libraries.
- Clone the ForgeJS project.
- Copy and paste the
libdirectory of theforgejsrepository at the root of theforgejs-sampleslocal repository. - Build ForgeJS library with the help of the
grunt mincommand (more informations here). - Copy and paste the generated
builddirectory into the previously pastedlibdirectory of theforgejs-sampleslocal repository. - Rename
lib/builddirectory tolib/forge.
Run a server in the root folder of this directory. The index contain a list of available samples.
If you have Python installed, you can either run:
python -m SimpleHTTPServerOR
python -m http.serverIf you have Node.js installed, you can run these commands to install http-server, a simple zero-configuration command-line http server.
npm install http-server -g
http-server -p 8000You can then browse your localhost.
All audio, image and video files are the property of GoPro, Inc.
You may not use the material for commercial purposes.
All other specific copyrights are available in each sample's directory.