This is a scaffold for setting up: an API with Rails and the ember-rails gem, persistence with Ember.Data, and a browser app using Ember.js
See source code on GitHub: pixelhandler/journal.
# Replace any brackets with real values | |
# Try to ssh in to DREAMHOST (ensure it no longer asks for a PW); you may want to restart Terminal | |
ssh [user]@[host] | |
cd ~ | |
mkdir [mydomain_com].git | |
cd [mydomain_com].git | |
git init --bare | |
vi hooks/post-receive | |
# Enter the code from the "post-receive" file (in this gist); save + quit |
# This is the default .slate file. | |
# If no ~/.slate file exists this is the file that will be used. | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
# Resize Bindings | |
bind right:alt resize +10% +0 | |
bind left:alt resize -10% +0 |
This is a scaffold for setting up: an API with Rails and the ember-rails gem, persistence with Ember.Data, and a browser app using Ember.js
See source code on GitHub: pixelhandler/journal.
<script type="text/vnd.graphviz" id="graphviz"> | |
digraph G { | |
"you" -> "createGist" | |
"createGist" -> "gist" | |
"gist" -> "code" | |
"code" -> "agile.pics" | |
"agile.pics" -> "visualization" | |
"visualization" -> "share" | |
"share" -> "collaborator" | |
"collaborator" -> "editGist" |
<h1> | |
Using Agile Pics | |
</h1> | |
<div class="diagram"> | |
Create a Gist->Grab its Id: | |
Visit->Request: | |
Request->App: | |
App->Routes: | |
Routes->Controller: | |
Controller->Model: |
<h1> | |
Billing | |
</h1> | |
<div class="diagram"> | |
Billing->Corresponding\n Author: | |
Billing->Institutional\n Accounts: | |
Billing->Global Participation\n Initiative: | |
Billing->Publication Fee\n Assistance: | |
</div> |
<h1> | |
App Policies | |
</h1> | |
<div class="diagram"> | |
Request->Controller: | |
Controller->Authorization: | |
Authorization->EnforcePolicy: | |
EnforcePolicy->Policy: | |
Policy->Permissions:defines | |
</div> |
<h3> | |
Restaurant | |
</h3> | |
<div class="diagram"> | |
Customer->Host:welcome | |
Host->Waiting List: add names to List | |
Host->Waiting List: updating it as Customers are seated | |
Host->Customer: table is ready | |
Customer->Server:submits order |
<script type="text/vnd.graphviz" id="graphviz"> | |
digraph models_diagram { | |
graph[overlap=false, splines=true] | |
"Affiliation" [] | |
"ApiKey" [] | |
"Attachment" [] | |
"Author" [] | |
"Comment" [] | |
"CommentLook" [] | |
"Credential" [] |