couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [34/50] [abbrv] git commit: Initial steps towards working bbb server
Date Mon, 11 Feb 2013 11:12:14 GMT
Initial steps towards working bbb server

Added proxy info to grunt.js. We'll want to bring this out into a config
file at some point.

Had to add back /index.html for the moment. Need to generate this as
part of the bbb server process, or change the file location.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/f1016d91
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/f1016d91
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/f1016d91

Branch: refs/heads/fauxton
Commit: f1016d91fd62fac96b9a1762e66dd7e0f69f9133
Parents: e62fa49
Author: Russell Branca <chewbranca@gmail.com>
Authored: Fri Feb 1 11:32:55 2013 -0800
Committer: Russell Branca <chewbranca@gmail.com>
Committed: Fri Feb 1 11:32:55 2013 -0800

----------------------------------------------------------------------
 src/fauxton/grunt.js   |    8 ++++++++
 src/fauxton/index.html |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/f1016d91/src/fauxton/grunt.js
----------------------------------------------------------------------
diff --git a/src/fauxton/grunt.js b/src/fauxton/grunt.js
index 09cf12d..693e08b 100644
--- a/src/fauxton/grunt.js
+++ b/src/fauxton/grunt.js
@@ -199,6 +199,14 @@ module.exports = function(grunt) {
         }
       },
 
+      proxies: {
+        '': {
+          host: 'localhost',
+          port: 5984,
+          https: false
+        }
+      },
+
       release: {
         // This makes it easier for deploying, by defaulting to any IP.
         host: "0.0.0.0",

http://git-wip-us.apache.org/repos/asf/couchdb/blob/f1016d91/src/fauxton/index.html
----------------------------------------------------------------------
diff --git a/src/fauxton/index.html b/src/fauxton/index.html
new file mode 100644
index 0000000..4a924e8
--- /dev/null
+++ b/src/fauxton/index.html
@@ -0,0 +1,38 @@
+<!doctype html>
+<html lang="en">
+<head>
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+  <meta name="viewport" content="width=device-width,initial-scale=1">
+
+  <title>Project Fauxton</title>
+
+  <!-- Application styles. -->
+  <link rel="stylesheet" href="/css/index.css">
+  <style type="text/css">
+    body {
+    padding-top: 60px;
+    padding-bottom: 40px;
+    }
+  </style>
+  <base href="/"></base>
+</head>
+
+<body id="home">
+  <!-- Main container. -->
+  <div role="main" id="main">
+    <div id="global-notifications" class="container errors-container"></div>
+    <div id="app-container"></div>
+    <hr>
+
+    <footer>
+      <div id="footer-content" class="container">
+        <p>&copy; Project Fauxton 2012</p>
+      </div>
+    </footer>
+  </div>
+
+  <!-- Application source. -->
+  <script data-main="/app/config" src="/assets/js/libs/require.js"></script>
+</body>
+</html>


Mime
View raw message