This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.start = function (config, callback) { | |
var project_dir = process.cwd(); | |
var cfg = environment.getConfig( | |
process.platform, // platform | |
process.env, // environment vars | |
project_dir, // project directory | |
[] // command-line arguments | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<style media="all"> | |
iframe { | |
height: 100%; | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (root, factory) { | |
'use strict'; | |
if (typeof exports === 'object') { | |
var backbone = require('backbone'); | |
var hoodie = require('hoodie'); | |
module.exports = factory(backbone, hoodie); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13:26 <jan____> heya Anders___ | |
13:26 <jan____> cc svnlto ^ | |
13:27 <svnlto> Anders___: I don't have any windows experience sorry. Do you get any errors. what hoodie-server version are you running? | |
13:30 <Anders___> version 0.4.8 | |
13:30 <svnlto> Anders___: great. first time creating a hoodie app? | |
13:30 <jan____> gtg, sorry! | |
13:30 <svnlto> jan____: yeah yeah.. | |
13:32 <Anders___> yes, first attempt .. First I experience trouble with paths to Git and then to CouchDB .. but after digging into the source and fixing a bit with the paths it all started to work great (had a bit of challenge with CouchDB itself also but that also came out fine) | |
13:33 <Anders___> now my problem seems that the static files are not served .. I do get results when I try to go to some of the /_api/ paths | |
13:36 ↔ Acconut popped in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"resolutions": { | |
"hoodie": "*" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
"globals": { | |
"Backbone": true, | |
"app": true, | |
"Marionette": true | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
browserify: { | |
libs: { | |
options: { | |
require: [ | |
'react' | |
] | |
}, | |
src: ['public/lib/*.js'], | |
dest: 'public/dist/libs.js' | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
// wherever the above file is | |
// | |
grunt.loadTasks('test/tasks/'); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
your_task_name: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: webservers | |
user: vagrant | |
sudo: True | |
vars_files: | |
- vars.yml | |
tasks: | |
- name: update apt cache | |
apt: update-cache=yes |
OlderNewer