The best way to get started with Enyo is to grab Enyo Bootplate. The Bootplate template provides a complete starter project containing the latest release of Enyo core and the most common libraries, and supports source control and cross-platform deployment out of the box.
You can clone Bootplate from GitHub (and initialize its submodules) with the following commands:
git clone https://github.com/enyojs/bootplate.git cd bootplate git submodule update --init
Once you've cloned bootplate, open the folder and load debug.html in a browser. Hello to you too, Enyo! When you're ready to dive deeper, head to the Bootplate documentation, or dive into the Developer Guide.
Not a fan of git?Bootplate zip
We also provide a zip archive of Bootplate from the latest stable release.Enyo on GitHub
More advanced developers who are contributing to Enyo, developing Enyo libraries, or just prefer to work at the bleeding edge may prefer to pull Enyo and its libraries directly from GitHub.
This is the basic folder structure you should use, and the repos to clone from:
+- enyo email@example.com:enyojs/enyo.git +- lib (mkdir the lib folder) +- onyx firstname.lastname@example.org:enyojs/onyx.git +- layout email@example.com:enyojs/layout.git +- ...Enyo nightly server
We host nightly snapshots of Enyo core and official libraries, as well as the API viewer, Bootplate, and Sampler code. Use this to test your app against the bleeding edge or just see what we're up to, without needing to pull from GitHub. We plan to keep about 2 weeks of archived snapshots available.Enyo on jsFiddle
jsFiddle is a great service for creating and sharing live snippets of HTML/JS/CSS code. We make the latest stable releases as well as nightly snapshots of Enyo available on jsFiddle, so you can experiment, work up samples, and share them with others. We find it especially useful when filing bug reports or posting to the forums to include a link to a fiddle that reproduces your problem or question. Make sure you select Enyo from the Framework drop down, and use the "no wrap (body)" option.