- Build meteor:
meteor build .build --server "https://server/url"
- Download the [crosswalk cordova package][1], rename the framework/ to CordovaLib, and copy it to override meteor build's CordovaLib.
- Add VERSION file:
cp /VERSION VERSION
################################################################ | |
# Global configuration | |
################################################################ | |
# Enable debug mode | |
# | |
# Optional | |
# Default: false | |
debug = true |
Template.assetUpload.events( | |
'drop #asset-upload-dropzone': (e) -> | |
e.stop() | |
$(e.target).removeClass 'dropzone-hover' | |
new AssetUpload(e) | |
'dragenter #asset-upload-dropzone': (e) -> | |
e.stop() | |
$(e.target).addClass 'dropzone-hover' |
version: '3' | |
services: | |
kadira-engine: | |
restart_policy: | |
condition: on-failure | |
depends_on: | |
- mongo | |
image: vladgolubev/kadira-engine | |
ports: |
Zoomable Sunburst with Labels
# Sticky session module for nginx | |
# https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/ | |
# nginx configure command: ./configure --with-http_ssl_module --add-module=../nginx-sticky-module-ng/ --sbin-path=/usr/local/sbin --with-http_gzip_static_module | |
upstream vida_node_server { | |
sticky path=/; | |
server 127.0.0.1:3000 max_fails=3 fail_timeout=30s; | |
server [server2]:3000 max_fails=3 fail_timeout=30s; | |
} |
# add the email package | |
meteor add email |
FROM node:8.9.4 | |
LABEL name="hermes" | |
COPY . /usr/src/app/ | |
WORKDIR /usr/src/app | |
RUN cat *sf-part* > bundle.tar.gz | |
RUN tar -xzf bundle.tar.gz | |
WORKDIR bundle/programs/server | |
RUN npm install |
/* | |
This is obviously a very basic example. It takes props to render the inputs with their values, and | |
to render any error state. It also takes props to update the state, or submit the form. | |
*/ | |
const LoginForm = props => ( | |
<form onSubmit={props.onSubmit}> | |
<input type="text" name="username" onChange={props.onChangeUsername} value={props.username}/> | |
{ props.userNameError && <span class="error">{ props.usernameError }</span> } | |
<input type="password" name="password" onChange={props.onChangePassword} value={props.password}/> |
insert | |
$jedi isa order, has name "Jedi"; | |
$sith isa order, has name "Sith"; | |
# Okay, let's start with some Jedi masters we know of. | |
$obi-wan isa human, has name "Obi-Wan Kenobi", has gender "male"; | |
$obi-wan-is-jedi (member: $obi-wan, member-of: $jedi) isa membership; | |
# What do we know about Anakin? |