Skip to content

Basics Of Making an App

zodern edited this page Dec 17, 2014 · 2 revisions

Getting Started

You need to have node, npm, git and bower installed.

Clone Silk

git clone https://github.com/zodern/Silk.git
cd Silk
npm install
bower install

Silk apps are stored in the Silk/apps folder.

Files

Apps require a window.json file. The minimum is:

{
    "title" : "Window Title / name",
    "url" : "url to main html page",
    "icon" : "url to icon"
}

[Learn more about the window.json >](https://github.com/zodern/Silk/wiki/Window .json)

index.js is the main javascript file for the server.

Put all of your client files in the public folder. Silk automatically routs all request for http://0.0.0.0:3000/<app title>/path to file to your public folder.

Home

Contributing to Silk

Building Apps

Using Silk

Clone this wiki locally