aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-11-29 22:14:22 -0800
committerAdam Soltys <[email protected]>2012-11-29 22:14:22 -0800
commita189adff41fbc3a95ba8da982a757bd4649a60f6 (patch)
tree1d98d45c6547fd8fa3d7ee84b58d6441485ab162
parent706ee79e8410a4f7944ac494e1b7ec977ce3c033 (diff)
downloadcoinos-server-a189adff41fbc3a95ba8da982a757bd4649a60f6.tar.gz
coinos-server-a189adff41fbc3a95ba8da982a757bd4649a60f6.zip
Remove config file
-rw-r--r--app.coffee4
-rw-r--r--config.js.sample10
-rw-r--r--views/index.html2
3 files changed, 3 insertions, 13 deletions
diff --git a/app.coffee b/app.coffee
index 7847c16e..e59829a6 100644
--- a/app.coffee
+++ b/app.coffee
@@ -5,7 +5,6 @@ engines = require('consolidate')
passport = require('passport')
bcrypt = require('bcrypt')
db = require("redis").createClient()
-config = require('./config')
app = express()
LocalStrategy = require('passport-local').Strategy
@@ -37,7 +36,7 @@ app.use(passport.initialize())
app.use(passport.session())
app.use(app.router)
-routes =
+routes =
"/": 'index'
"/about": 'about'
"/exchangers": 'exchangers'
@@ -46,6 +45,7 @@ routes =
"/merchants/signup": 'signup'
"/contact": 'contact'
+
for route, view of routes
((route, view) ->
app.get(route, (req, res) ->
diff --git a/config.js.sample b/config.js.sample
deleted file mode 100644
index ce02db5e..00000000
--- a/config.js.sample
+++ /dev/null
@@ -1,10 +0,0 @@
-var config = {};
-
-config.database = {
- host : 'host',
- user : 'user',
- password : 'password',
- database: 'database'
-}
-
-module.exports = config;
diff --git a/views/index.html b/views/index.html
index 216a6abb..72454ad0 100644
--- a/views/index.html
+++ b/views/index.html
@@ -2,7 +2,7 @@
<div class="row-fluid">
<div class="span12">
<div class="hero-unit">
- <h1>Vancouver Bitcoin</h1>
+ <h1>Bitcoin Vancouver</h1>
<p>We help local businesses accept bitcoins by providing them with payment software and paying cash for their bitcoins. We also sell bitcoins to the public through a network of qualified local exchangers.</p>
<p><a href="/about" class="btn btn-primary btn-large">Learn more &raquo;</a></p>
</div>