-mCan be passed if you want an app that does not contain the chat demo app code.
-cCan be passed if you want an app with CoffeeScript files in place of JS files.
-jCan be passed if you want an app with Jade templates instead of HTML templates.
To pass these flags, specify them after the app name:
socketstream new my_other_app -m -c -j
After you have created your app, make sure to
cd into your socketstream app, and run
npm install. Once that is done, you can then run
If you take a look at the files and folders inside a new socketstream app, they look like this:
SocketStream uses a small initial folder structure, structuring code based on whether it's client-side or server-side code. There is a node_modules folder and package.json file for module dependencies, and an app.js file which boots the SocketStream app.
Let's look at the client folder in a bit more detail:
Client-side files are organised into 5 folders:
Within the code folder, you will notice that there are two folders, app and libs:
These folder structures are flexible, and the same goes for folders inside of the static folder:
Files stores in this folder will be accessible in the web app from the root path, so an image file at
static/images/logo.png will be accessible at
Compared to the client folder structure, server-side files have a much more streamlined file structure:
Client-side files are organised into 2 folders:
Updates on the Socketstream project
Hi everyone, welcome to the new Socketstream website. We are going to be making improvements to the site over the coming days and weeks, but if you have anything you'd like to suggest, email email@example.com.
Socketstream has a range of plugins that you can use to build your web applications. They range from code formatters, to client-side framework extensions, and behaviour-driven development plugins.
Companies have put Socketstream into production use for all kinds of applications - here are some showcases of how Socketstream is used today.
SketchDeck is a platform for business design. We do all the hard work of turning users' content into well designed documents. We use Socketstream to rapidly iterate on our website and our backend infrastructure. Socketstream lets us rapidly deploy a fast, secure and capable platform. It’s hard to imagine all the legwork we’d otherwise have to do!David Mack, CTO - SketchDeck
Socketstream was crucial to delivering the smooth user experience of our Dashboard application. It also provided a seamless development workflow of reloading when code changes were made, allowing us to just focus on delivering features. We were even told that Dashku was being used at Facebook by someone working there.Paul Jensen, Creator - Dashku
TODO - write tutorials for the following topics