├── .babelrc
├── .editorconfig
├── .eslintignore
├── .gitignore
├── .hz
├── config.toml
├── schema.toml
└── secrets.toml
├── README.md
├── build
├── build.js
├── dev-client.js
├── dev-server.js
├── utils.js
├── webpack.base.conf.js
├── webpack.dev.conf.js
└── webpack.prod.conf.js
├── config
├── dev.env.js
├── index.js
├── prod.env.js
└── test.env.js
├── index.html
├── package.json
├── rethinkdb_data
├── 14bb5c46-1e73-44b7-b3c3-5fa33b738811
├── 442d25a6-b881-4654-ab37-2600d112161f
├── 737a82a4-d076-4138-836a-3a598bef1097
├── a92955a4-bbe0-4fa2-bcaa-0053157bb647
├── c6cd3e11-e697-46a8-9030-64469d226527
├── log_file
└── metadata
├── src
├── App.vue
├── assets
│ ├── logo.png
│ └── styles.css
├── components
│ ├── About.vue
│ ├── Notes.vue
│ ├── layout
│ │ ├── NavFoot.vue
│ │ └── Navbar.vue
│ └── notes
│ │ └── noteCard.vue
└── main.js
└── static
└── .gitkeep
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["es2015", "stage-2"],
3 | "plugins": ["transform-runtime"],
4 | "comments": false
5 | }
6 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | build/*.js
2 | config/*.js
3 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/
4 | npm-debug.log
5 | selenium-debug.log
6 | test/unit/coverage
7 | test/e2e/reports
8 | rethinkdb_data
9 |
--------------------------------------------------------------------------------
/.hz/config.toml:
--------------------------------------------------------------------------------
1 | # This is a TOML file
2 |
3 | ###############################################################################
4 | # IP options
5 | # 'bind' controls which local interfaces will be listened on
6 | # 'port' controls which port will be listened on
7 | #------------------------------------------------------------------------------
8 | # bind = [ "localhost" ]
9 | # port = 8181
10 |
11 |
12 | ###############################################################################
13 | # HTTPS Options
14 | # 'secure' will disable HTTPS and use HTTP instead when set to 'false'
15 | # 'key_file' and 'cert_file' are required for serving HTTPS
16 | #------------------------------------------------------------------------------
17 | # secure = true
18 | # key_file = "horizon-key.pem"
19 | # cert_file = "horizon-cert.pem"
20 |
21 |
22 | ###############################################################################
23 | # App Options
24 | # 'project_name' sets the name of the RethinkDB database used to store the
25 | # application state
26 | # 'serve_static' will serve files from the given directory over HTTP/HTTPS
27 | #------------------------------------------------------------------------------
28 | project_name = "vue_horizon"
29 | # serve_static = "dist"
30 |
31 |
32 | ###############################################################################
33 | # Data Options
34 | # WARNING: these should probably not be enabled on a publically accessible
35 | # service. Tables and indexes are not lightweight objects, and allowing them
36 | # to be created like this could open the service up to denial-of-service
37 | # attacks.
38 | # 'auto_create_collection' creates a collection when one is needed but does not exist
39 | # 'auto_create_index' creates an index when one is needed but does not exist
40 | #------------------------------------------------------------------------------
41 | # auto_create_collection = false
42 | # auto_create_index = false
43 |
44 |
45 | ###############################################################################
46 | # RethinkDB Options
47 | # 'connect' and 'start_rethinkdb' are mutually exclusive
48 | # 'connect' will connect to an existing RethinkDB instance
49 | # 'start_rethinkdb' will run an internal RethinkDB instance
50 | # 'rdb_timeout' is the number of seconds to wait when connecting to RethinkDB
51 | #------------------------------------------------------------------------------
52 | # connect = "localhost:28015"
53 | # start_rethinkdb = false
54 | # rdb_timeout = 30
55 |
56 |
57 | ###############################################################################
58 | # Debug Options
59 | # 'debug' enables debug log statements
60 | #------------------------------------------------------------------------------
61 | # debug = false
62 |
63 |
64 | ###############################################################################
65 | # Authentication Options
66 | # Each auth subsection will add an endpoint for authenticating through the
67 | # specified provider.
68 | # 'token_secret' is the key used to sign jwts
69 | # 'allow_anonymous' issues new accounts to users without an auth provider
70 | # 'allow_unauthenticated' allows connections that are not tied to a user id
71 | # 'auth_redirect' specifies where users will be redirected to after login
72 | # 'access_control_allow_origin' sets a host that can access auth settings
73 | # (typically your frontend host)
74 | #------------------------------------------------------------------------------
75 | # allow_anonymous = false
76 | # allow_unauthenticated = false
77 | # auth_redirect = "/"
78 | # access_control_allow_origin = ""
79 | #
80 |
--------------------------------------------------------------------------------
/.hz/schema.toml:
--------------------------------------------------------------------------------
1 | [groups.admin]
2 | [groups.admin.rules.carte_blanche]
3 | template = "any()"
4 |
--------------------------------------------------------------------------------
/.hz/secrets.toml:
--------------------------------------------------------------------------------
1 | token_secret = "N0xtWU7SMq+pY/09CbBMk3diDZNjyHBJiTN/mq7KPuqanPJPnYJIvJ1B2x7i0ivO8us2CzVZUbztbVbkgY5U0A=="
2 |
3 | ###############################################################################
4 | # RethinkDB Options
5 | # 'rdb_user' is the user account to log in with when connecting to RethinkDB
6 | # 'rdb_password' is the password for the user account specified by 'rdb_user'
7 | #------------------------------------------------------------------------------
8 | # rdb_user = 'admin'
9 | # rdb_password = ''
10 |
11 | # [auth.auth0]
12 | # host = "0000.00.auth0.com"
13 | # id = "0000000000000000000000000"
14 | # secret = "00000000000000000000000000000000000000000000000000"
15 | #
16 | # [auth.facebook]
17 | # id = "000000000000000"
18 | # secret = "00000000000000000000000000000000"
19 | #
20 | # [auth.google]
21 | # id = "00000000000-00000000000000000000000000000000.apps.googleusercontent.com"
22 | # secret = "000000000000000000000000"
23 | #
24 | # [auth.twitter]
25 | # id = "0000000000000000000000000"
26 | # secret = "00000000000000000000000000000000000000000000000000"
27 | #
28 | # [auth.github]
29 | # id = "00000000000000000000"
30 | # secret = "0000000000000000000000000000000000000000"
31 | #
32 | # [auth.twitch]
33 | # id = "0000000000000000000000000000000"
34 | # secret = "0000000000000000000000000000000"
35 | #
36 | # [auth.slack]
37 | # id = "0000000000000000000000000000000"
38 | # secret = "0000000000000000000000000000000"
39 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # vuehorizon
2 |
3 | > A Vue.js + Horizon JS tutorial
4 |
5 | This application goes over the basics on how to connect [Vue JS](https://vuejs.org) with RethinkDB's [Horizon](https://horizon.io) project. This is really fast stack to work with and there isn't much documentation out there for connecting the two so I figured I'd build a tutorial to get people started.
6 | I'll be going over the following:
7 | - Installing Vue + Horizon
8 | - Connecting Vue + Horizon with their scaffolding tools
9 | - Building a full stack SPA for note-taking
10 | - Vue-router for client side routing
11 | - CRUD operations
12 | - (Maybe) Authentication and User Management
13 | - Deployment to Digital Ocean
14 |
15 | I will be posting the different sections of this tutorial on [my website](http://patrickbollenbach.com/blog).
16 |
17 | Hope you can learn something from this!
18 |
19 | ## Build Setup
20 |
21 | ``` bash
22 | # install dependencies
23 | npm install
24 |
25 | # start horizon server
26 | hz serve --dev
27 |
28 | # serve Vue project with hot reload at localhost:8080
29 | npm run dev
30 |
31 | # build for production with minification (haven't tested yet, should work though...)
32 | npm run build
33 |
34 | ```
35 |
--------------------------------------------------------------------------------
/build/build.js:
--------------------------------------------------------------------------------
1 | // https://github.com/shelljs/shelljs
2 | require('shelljs/global')
3 | env.NODE_ENV = 'production'
4 |
5 | var path = require('path')
6 | var config = require('../config')
7 | var ora = require('ora')
8 | var webpack = require('webpack')
9 | var webpackConfig = require('./webpack.prod.conf')
10 |
11 | console.log(
12 | ' Tip:\n' +
13 | ' Built files are meant to be served over an HTTP server.\n' +
14 | ' Opening index.html over file:// won\'t work.\n'
15 | )
16 |
17 | var spinner = ora('building for production...')
18 | spinner.start()
19 |
20 | var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory)
21 | rm('-rf', assetsPath)
22 | mkdir('-p', assetsPath)
23 | cp('-R', 'static/', assetsPath)
24 |
25 | webpack(webpackConfig, function (err, stats) {
26 | spinner.stop()
27 | if (err) throw err
28 | process.stdout.write(stats.toString({
29 | colors: true,
30 | modules: false,
31 | children: false,
32 | chunks: false,
33 | chunkModules: false
34 | }) + '\n')
35 | })
36 |
--------------------------------------------------------------------------------
/build/dev-client.js:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | require('eventsource-polyfill')
3 | var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
4 |
5 | hotClient.subscribe(function (event) {
6 | if (event.action === 'reload') {
7 | window.location.reload()
8 | }
9 | })
10 |
--------------------------------------------------------------------------------
/build/dev-server.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var express = require('express')
3 | var webpack = require('webpack')
4 | var config = require('../config')
5 | var proxyMiddleware = require('http-proxy-middleware')
6 | var webpackConfig = process.env.NODE_ENV === 'testing'
7 | ? require('./webpack.prod.conf')
8 | : require('./webpack.dev.conf')
9 |
10 | // default port where dev server listens for incoming traffic
11 | var port = process.env.PORT || config.dev.port
12 | // Define HTTP proxies to your custom API backend
13 | // https://github.com/chimurai/http-proxy-middleware
14 | var proxyTable = config.dev.proxyTable
15 |
16 | var app = express()
17 | var compiler = webpack(webpackConfig)
18 |
19 | var devMiddleware = require('webpack-dev-middleware')(compiler, {
20 | publicPath: webpackConfig.output.publicPath,
21 | stats: {
22 | colors: true,
23 | chunks: false
24 | }
25 | })
26 |
27 | var hotMiddleware = require('webpack-hot-middleware')(compiler)
28 | // force page reload when html-webpack-plugin template changes
29 | compiler.plugin('compilation', function (compilation) {
30 | compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
31 | hotMiddleware.publish({ action: 'reload' })
32 | cb()
33 | })
34 | })
35 |
36 | // proxy api requests
37 | Object.keys(proxyTable).forEach(function (context) {
38 | var options = proxyTable[context]
39 | if (typeof options === 'string') {
40 | options = { target: options }
41 | }
42 | app.use(proxyMiddleware(context, options))
43 | })
44 |
45 | // handle fallback for HTML5 history API
46 | app.use(require('connect-history-api-fallback')())
47 |
48 | // serve webpack bundle output
49 | app.use(devMiddleware)
50 |
51 | // enable hot-reload and state-preserving
52 | // compilation error display
53 | app.use(hotMiddleware)
54 |
55 | // serve pure static assets
56 | var staticPath = path.posix.join(config.dev.assetsPublicPath, config.dev.assetsSubDirectory)
57 | app.use(staticPath, express.static('./static'))
58 |
59 | module.exports = app.listen(port, function (err) {
60 | if (err) {
61 | console.log(err)
62 | return
63 | }
64 | console.log('Listening at http://localhost:' + port + '\n')
65 | })
66 |
--------------------------------------------------------------------------------
/build/utils.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var config = require('../config')
3 | var ExtractTextPlugin = require('extract-text-webpack-plugin')
4 |
5 | exports.assetsPath = function (_path) {
6 | var assetsSubDirectory = process.env.NODE_ENV === 'production'
7 | ? config.build.assetsSubDirectory
8 | : config.dev.assetsSubDirectory
9 | return path.posix.join(assetsSubDirectory, _path)
10 | }
11 |
12 | exports.cssLoaders = function (options) {
13 | options = options || {}
14 | // generate loader string to be used with extract text plugin
15 | function generateLoaders (loaders) {
16 | var sourceLoader = loaders.map(function (loader) {
17 | var extraParamChar
18 | if (/\?/.test(loader)) {
19 | loader = loader.replace(/\?/, '-loader?')
20 | extraParamChar = '&'
21 | } else {
22 | loader = loader + '-loader'
23 | extraParamChar = '?'
24 | }
25 | return loader + (options.sourceMap ? extraParamChar + 'sourceMap' : '')
26 | }).join('!')
27 |
28 | if (options.extract) {
29 | return ExtractTextPlugin.extract('vue-style-loader', sourceLoader)
30 | } else {
31 | return ['vue-style-loader', sourceLoader].join('!')
32 | }
33 | }
34 |
35 | // http://vuejs.github.io/vue-loader/configurations/extract-css.html
36 | return {
37 | css: generateLoaders(['css']),
38 | postcss: generateLoaders(['css']),
39 | less: generateLoaders(['css', 'less']),
40 | sass: generateLoaders(['css', 'sass?indentedSyntax']),
41 | scss: generateLoaders(['css', 'sass']),
42 | stylus: generateLoaders(['css', 'stylus']),
43 | styl: generateLoaders(['css', 'stylus'])
44 | }
45 | }
46 |
47 | // Generate loaders for standalone style files (outside of .vue)
48 | exports.styleLoaders = function (options) {
49 | var output = []
50 | var loaders = exports.cssLoaders(options)
51 | for (var extension in loaders) {
52 | var loader = loaders[extension]
53 | output.push({
54 | test: new RegExp('\\.' + extension + '$'),
55 | loader: loader
56 | })
57 | }
58 | return output
59 | }
60 |
--------------------------------------------------------------------------------
/build/webpack.base.conf.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var config = require('../config')
3 | var utils = require('./utils')
4 | var projectRoot = path.resolve(__dirname, '../')
5 |
6 | module.exports = {
7 | entry: {
8 | app: './src/main.js'
9 | },
10 | output: {
11 | path: config.build.assetsRoot,
12 | publicPath: process.env.NODE_ENV === 'production' ? config.build.assetsPublicPath : config.dev.assetsPublicPath,
13 | filename: '[name].js'
14 | },
15 | resolve: {
16 | extensions: ['', '.js', '.vue'],
17 | fallback: [path.join(__dirname, '../node_modules')],
18 | alias: {
19 | 'src': path.resolve(__dirname, '../src'),
20 | 'assets': path.resolve(__dirname, '../src/assets'),
21 | 'components': path.resolve(__dirname, '../src/components')
22 | }
23 | },
24 | resolveLoader: {
25 | fallback: [path.join(__dirname, '../node_modules')]
26 | },
27 | module: {
28 | loaders: [
29 | {
30 | test: /\.vue$/,
31 | loader: 'vue'
32 | },
33 | {
34 | test: /\.js$/,
35 | loader: 'babel',
36 | include: projectRoot,
37 | exclude: /node_modules/
38 | },
39 | {
40 | test: /\.json$/,
41 | loader: 'json'
42 | },
43 | {
44 | test: /\.html$/,
45 | loader: 'vue-html'
46 | },
47 | {
48 | test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
49 | loader: 'url',
50 | query: {
51 | limit: 10000,
52 | name: utils.assetsPath('img/[name].[hash:7].[ext]')
53 | }
54 | },
55 | {
56 | test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
57 | loader: 'url',
58 | query: {
59 | limit: 10000,
60 | name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
61 | }
62 | }
63 | ]
64 | },
65 | vue: {
66 | loaders: utils.cssLoaders()
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/build/webpack.dev.conf.js:
--------------------------------------------------------------------------------
1 | var config = require('../config')
2 | var webpack = require('webpack')
3 | var merge = require('webpack-merge')
4 | var utils = require('./utils')
5 | var baseWebpackConfig = require('./webpack.base.conf')
6 | var HtmlWebpackPlugin = require('html-webpack-plugin')
7 |
8 | // add hot-reload related code to entry chunks
9 | Object.keys(baseWebpackConfig.entry).forEach(function (name) {
10 | baseWebpackConfig.entry[name] = ['./build/dev-client'].concat(baseWebpackConfig.entry[name])
11 | })
12 |
13 | module.exports = merge(baseWebpackConfig, {
14 | module: {
15 | loaders: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap })
16 | },
17 | // eval-source-map is faster for development
18 | devtool: '#eval-source-map',
19 | plugins: [
20 | new webpack.DefinePlugin({
21 | 'process.env': config.dev.env
22 | }),
23 | // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
24 | new webpack.optimize.OccurenceOrderPlugin(),
25 | new webpack.HotModuleReplacementPlugin(),
26 | new webpack.NoErrorsPlugin(),
27 | // https://github.com/ampedandwired/html-webpack-plugin
28 | new HtmlWebpackPlugin({
29 | filename: 'index.html',
30 | template: 'index.html',
31 | inject: true
32 | })
33 | ]
34 | })
35 |
--------------------------------------------------------------------------------
/build/webpack.prod.conf.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var config = require('../config')
3 | var utils = require('./utils')
4 | var webpack = require('webpack')
5 | var merge = require('webpack-merge')
6 | var baseWebpackConfig = require('./webpack.base.conf')
7 | var ExtractTextPlugin = require('extract-text-webpack-plugin')
8 | var HtmlWebpackPlugin = require('html-webpack-plugin')
9 | var env = process.env.NODE_ENV === 'testing'
10 | ? require('../config/test.env')
11 | : config.build.env
12 |
13 | var webpackConfig = merge(baseWebpackConfig, {
14 | module: {
15 | loaders: utils.styleLoaders({ sourceMap: config.build.productionSourceMap, extract: true })
16 | },
17 | devtool: config.build.productionSourceMap ? '#source-map' : false,
18 | output: {
19 | path: config.build.assetsRoot,
20 | filename: utils.assetsPath('js/[name].[chunkhash].js'),
21 | chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
22 | },
23 | vue: {
24 | loaders: utils.cssLoaders({
25 | sourceMap: config.build.productionSourceMap,
26 | extract: true
27 | })
28 | },
29 | plugins: [
30 | // http://vuejs.github.io/vue-loader/workflow/production.html
31 | new webpack.DefinePlugin({
32 | 'process.env': env
33 | }),
34 | new webpack.optimize.UglifyJsPlugin({
35 | compress: {
36 | warnings: false
37 | }
38 | }),
39 | new webpack.optimize.OccurenceOrderPlugin(),
40 | // extract css into its own file
41 | new ExtractTextPlugin(utils.assetsPath('css/[name].[contenthash].css')),
42 | // generate dist index.html with correct asset hash for caching.
43 | // you can customize output by editing /index.html
44 | // see https://github.com/ampedandwired/html-webpack-plugin
45 | new HtmlWebpackPlugin({
46 | filename: process.env.NODE_ENV === 'testing'
47 | ? 'index.html'
48 | : config.build.index,
49 | template: 'index.html',
50 | inject: true,
51 | minify: {
52 | removeComments: true,
53 | collapseWhitespace: true,
54 | removeAttributeQuotes: true
55 | // more options:
56 | // https://github.com/kangax/html-minifier#options-quick-reference
57 | },
58 | // necessary to consistently work with multiple chunks via CommonsChunkPlugin
59 | chunksSortMode: 'dependency'
60 | }),
61 | // split vendor js into its own file
62 | new webpack.optimize.CommonsChunkPlugin({
63 | name: 'vendor',
64 | minChunks: function (module, count) {
65 | // any required modules inside node_modules are extracted to vendor
66 | return (
67 | module.resource &&
68 | /\.js$/.test(module.resource) &&
69 | module.resource.indexOf(
70 | path.join(__dirname, '../node_modules')
71 | ) === 0
72 | )
73 | }
74 | }),
75 | // extract webpack runtime and module manifest to its own file in order to
76 | // prevent vendor hash from being updated whenever app bundle is updated
77 | new webpack.optimize.CommonsChunkPlugin({
78 | name: 'manifest',
79 | chunks: ['vendor']
80 | })
81 | ]
82 | })
83 |
84 | if (config.build.productionGzip) {
85 | var CompressionWebpackPlugin = require('compression-webpack-plugin')
86 |
87 | webpackConfig.plugins.push(
88 | new CompressionWebpackPlugin({
89 | asset: '[path].gz[query]',
90 | algorithm: 'gzip',
91 | test: new RegExp(
92 | '\\.(' +
93 | config.build.productionGzipExtensions.join('|') +
94 | ')$'
95 | ),
96 | threshold: 10240,
97 | minRatio: 0.8
98 | })
99 | )
100 | }
101 |
102 | module.exports = webpackConfig
103 |
--------------------------------------------------------------------------------
/config/dev.env.js:
--------------------------------------------------------------------------------
1 | var merge = require('webpack-merge')
2 | var prodEnv = require('./prod.env')
3 |
4 | module.exports = merge(prodEnv, {
5 | NODE_ENV: '"development"'
6 | })
7 |
--------------------------------------------------------------------------------
/config/index.js:
--------------------------------------------------------------------------------
1 | // see http://vuejs-templates.github.io/webpack for documentation.
2 | var path = require('path')
3 |
4 | module.exports = {
5 | build: {
6 | env: require('./prod.env'),
7 | index: path.resolve(__dirname, '../dist/index.html'),
8 | assetsRoot: path.resolve(__dirname, '../dist'),
9 | assetsSubDirectory: 'static',
10 | assetsPublicPath: '/',
11 | productionSourceMap: true,
12 | // Gzip off by default as many popular static hosts such as
13 | // Surge or Netlify already gzip all static assets for you.
14 | // Before setting to `true`, make sure to:
15 | // npm install --save-dev compression-webpack-plugin
16 | productionGzip: false,
17 | productionGzipExtensions: ['js', 'css']
18 | },
19 | dev: {
20 | env: require('./dev.env'),
21 | port: 8080,
22 | assetsSubDirectory: 'static',
23 | assetsPublicPath: '/',
24 | proxyTable: {},
25 | // CSS Sourcemaps off by default because relative paths are "buggy"
26 | // with this option, according to the CSS-Loader README
27 | // (https://github.com/webpack/css-loader#sourcemaps)
28 | // In our experience, they generally work as expected,
29 | // just be aware of this issue when enabling this option.
30 | cssSourceMap: false
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/config/prod.env.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | NODE_ENV: '"production"'
3 | }
4 |
--------------------------------------------------------------------------------
/config/test.env.js:
--------------------------------------------------------------------------------
1 | var merge = require('webpack-merge')
2 | var devEnv = require('./dev.env')
3 |
4 | module.exports = merge(devEnv, {
5 | NODE_ENV: '"testing"'
6 | })
7 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | vuehorizon
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vuehorizon",
3 | "version": "1.0.0",
4 | "description": "A Vue.js project",
5 | "author": "Patrick Bollenbach ",
6 | "private": true,
7 | "scripts": {
8 | "dev": "node build/dev-server.js",
9 | "build": "node build/build.js",
10 | "test": ""
11 | },
12 | "dependencies": {
13 | "babel-runtime": "^6.0.0",
14 | "vue": "^1.0.21",
15 | "vue-resource": "^0.9.3",
16 | "vue-router": "^0.7.13"
17 | },
18 | "devDependencies": {
19 | "babel-core": "^6.0.0",
20 | "babel-loader": "^6.0.0",
21 | "babel-plugin-transform-runtime": "^6.0.0",
22 | "babel-preset-es2015": "^6.0.0",
23 | "babel-preset-stage-2": "^6.0.0",
24 | "babel-register": "^6.0.0",
25 | "connect-history-api-fallback": "^1.1.0",
26 | "css-loader": "^0.23.0",
27 | "eventsource-polyfill": "^0.9.6",
28 | "express": "^4.13.3",
29 | "extract-text-webpack-plugin": "^1.0.1",
30 | "file-loader": "^0.8.4",
31 | "function-bind": "^1.0.2",
32 | "html-webpack-plugin": "^2.8.1",
33 | "http-proxy-middleware": "^0.12.0",
34 | "json-loader": "^0.5.4",
35 | "ora": "^0.2.0",
36 | "shelljs": "^0.6.0",
37 | "url-loader": "^0.5.7",
38 | "vue-hot-reload-api": "^1.2.0",
39 | "vue-html-loader": "^1.0.0",
40 | "vue-loader": "^8.3.0",
41 | "vue-style-loader": "^1.0.0",
42 | "webpack": "^1.12.2",
43 | "webpack-dev-middleware": "^1.4.0",
44 | "webpack-hot-middleware": "^2.6.0",
45 | "webpack-merge": "^0.8.3"
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/rethinkdb_data/14bb5c46-1e73-44b7-b3c3-5fa33b738811:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/patrickbolle/vue-horizon/2beb469b1322e28b5a3208e4338f26d0055a7708/rethinkdb_data/14bb5c46-1e73-44b7-b3c3-5fa33b738811
--------------------------------------------------------------------------------
/rethinkdb_data/442d25a6-b881-4654-ab37-2600d112161f:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/patrickbolle/vue-horizon/2beb469b1322e28b5a3208e4338f26d0055a7708/rethinkdb_data/442d25a6-b881-4654-ab37-2600d112161f
--------------------------------------------------------------------------------
/rethinkdb_data/737a82a4-d076-4138-836a-3a598bef1097:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/patrickbolle/vue-horizon/2beb469b1322e28b5a3208e4338f26d0055a7708/rethinkdb_data/737a82a4-d076-4138-836a-3a598bef1097
--------------------------------------------------------------------------------
/rethinkdb_data/a92955a4-bbe0-4fa2-bcaa-0053157bb647:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/patrickbolle/vue-horizon/2beb469b1322e28b5a3208e4338f26d0055a7708/rethinkdb_data/a92955a4-bbe0-4fa2-bcaa-0053157bb647
--------------------------------------------------------------------------------
/rethinkdb_data/c6cd3e11-e697-46a8-9030-64469d226527:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/patrickbolle/vue-horizon/2beb469b1322e28b5a3208e4338f26d0055a7708/rethinkdb_data/c6cd3e11-e697-46a8-9030-64469d226527
--------------------------------------------------------------------------------
/rethinkdb_data/log_file:
--------------------------------------------------------------------------------
1 | 2016-08-28T07:08:05.161667339 82.540644s notice: Recursively removing directory /home/patrick/Programming/vue-horizon/rethinkdb_data/tmp
2 | 2016-08-28T07:08:05.198272623 82.577252s notice: Initializing directory /home/patrick/Programming/vue-horizon/rethinkdb_data
3 | 2016-08-28T07:08:05.198445930 82.577422s info: Creating a default database for your convenience. (This is because you ran 'rethinkdb' without 'create', 'serve', or '--join', and the directory '/home/patrick/Programming/vue-horizon/rethinkdb_data' did not already exist or is empty.)
4 | 2016-08-28T07:08:05.198479277 82.577454s notice: Running rethinkdb 2.3.4~0jessie (GCC 4.9.2)...
5 | 2016-08-28T07:08:05.200524270 82.579501s notice: Running on Linux 3.16.0-4-amd64 x86_64
6 | 2016-08-28T07:08:05.200578207 82.579553s notice: Loading data from directory /home/patrick/Programming/vue-horizon/rethinkdb_data
7 | 2016-08-28T07:08:05.577344107 82.956323s info: Cache size is set to 200 MB
8 | 2016-08-28T07:08:05.586583414 82.965559s notice: Listening for intracluster connections on port 39913
9 | 2016-08-28T07:08:05.614422269 82.993398s notice: Listening for client driver connections on port 57365
10 | 2016-08-28T07:08:05.614642967 82.993618s notice: Listening for administrative HTTP connections on port 49028
11 | 2016-08-28T07:08:05.614672976 82.993648s notice: Listening on cluster addresses: 127.0.0.1, 127.0.1.1, ::1
12 | 2016-08-28T07:08:05.614706493 82.993682s notice: Listening on driver addresses: 127.0.0.1, 127.0.1.1, ::1
13 | 2016-08-28T07:08:05.614709375 82.993684s notice: Listening on http addresses: 127.0.0.1, 127.0.1.1, ::1
14 | 2016-08-28T07:08:05.614717327 82.993692s notice: To fully expose RethinkDB on the network, bind to all addresses by running rethinkdb with the `--bind all` command line option.
15 | 2016-08-28T07:08:05.614720025 82.993695s notice: Server ready, "debian_rhj" 10028091-a713-4797-a858-eedb79ed3962
16 | 2016-08-28T07:08:06.697965907 84.076941s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: Starting a new Raft election for term 1.
17 | 2016-08-28T07:08:06.699030119 84.078006s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: Added replica on this server.
18 | 2016-08-28T07:08:06.699039497 84.078015s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: Starting a new Raft election for term 1.
19 | 2016-08-28T07:08:06.699176300 84.078152s info: Table 737a82a4-d076-4138-836a-3a598bef1097: Starting a new Raft election for term 1.
20 | 2016-08-28T07:08:06.699358317 84.078334s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: Added replica on this server.
21 | 2016-08-28T07:08:06.699582470 84.078559s info: Table 737a82a4-d076-4138-836a-3a598bef1097: Added replica on this server.
22 | 2016-08-28T07:08:06.781195394 84.160171s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: This server is Raft leader for term 1. Latest log index is 0.
23 | 2016-08-28T07:08:06.781266507 84.160242s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: This server is Raft leader for term 1. Latest log index is 0.
24 | 2016-08-28T07:08:06.781297841 84.160273s info: Table 737a82a4-d076-4138-836a-3a598bef1097: This server is Raft leader for term 1. Latest log index is 0.
25 | 2016-08-28T07:08:09.657025881 87.036002s info: Table 442d25a6-b881-4654-ab37-2600d112161f: Starting a new Raft election for term 1.
26 | 2016-08-28T07:08:09.657298383 87.036274s info: Table 442d25a6-b881-4654-ab37-2600d112161f: Added replica on this server.
27 | 2016-08-28T07:08:09.705943570 87.084919s info: Table 442d25a6-b881-4654-ab37-2600d112161f: This server is Raft leader for term 1. Latest log index is 0.
28 | 2016-08-28T07:26:24.965435178 1182.344411s notice: Server got SIGINT from pid 0, uid 0; shutting down...
29 | 2016-08-28T07:26:25.044288655 1182.423264s notice: Shutting down client connections...
30 | 2016-08-28T07:26:25.044487725 1182.423463s notice: All client connections closed.
31 | 2016-08-28T07:26:25.044489699 1182.423465s notice: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
32 | 2016-08-28T07:26:25.272467531 1182.651443s notice: Storage engine shut down.
33 | 2016-08-28T07:27:55.461578117 86.590724s notice: Running rethinkdb 2.3.4~0jessie (GCC 4.9.2)...
34 | 2016-08-28T07:27:55.494024526 86.623161s notice: Running on Linux 3.16.0-4-amd64 x86_64
35 | 2016-08-28T07:27:55.494101090 86.623235s notice: Loading data from directory /home/patrick/Programming/vue-horizon/rethinkdb_data
36 | 2016-08-28T07:27:55.668394654 86.797531s info: Cache size is set to 200 MB
37 | 2016-08-28T07:27:55.668591567 86.797726s warn: Cache size does not leave much memory for server and query overhead (available memory: 1097 MB).
38 | 2016-08-28T07:27:55.673003379 86.802138s notice: Listening for intracluster connections on port 41996
39 | 2016-08-28T07:27:56.079905913 87.209041s notice: Listening for client driver connections on port 49820
40 | 2016-08-28T07:27:56.080110923 87.209245s notice: Listening for administrative HTTP connections on port 59427
41 | 2016-08-28T07:27:56.080136095 87.209270s notice: Listening on cluster addresses: 127.0.0.1, 127.0.1.1, ::1
42 | 2016-08-28T07:27:56.080138896 87.209273s notice: Listening on driver addresses: 127.0.0.1, 127.0.1.1, ::1
43 | 2016-08-28T07:27:56.080153373 87.209287s notice: Listening on http addresses: 127.0.0.1, 127.0.1.1, ::1
44 | 2016-08-28T07:27:56.080154959 87.209289s notice: To fully expose RethinkDB on the network, bind to all addresses by running rethinkdb with the `--bind all` command line option.
45 | 2016-08-28T07:27:56.080156621 87.209291s notice: Server ready, "debian_rhj" 10028091-a713-4797-a858-eedb79ed3962
46 | 2016-08-28T07:27:57.054199988 88.183335s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: Starting a new Raft election for term 2.
47 | 2016-08-28T07:27:57.112517154 88.241652s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: This server is Raft leader for term 2. Latest log index is 4.
48 | 2016-08-28T07:27:57.264839678 88.393974s info: Table 442d25a6-b881-4654-ab37-2600d112161f: Starting a new Raft election for term 2.
49 | 2016-08-28T07:27:57.312158385 88.441293s info: Table 442d25a6-b881-4654-ab37-2600d112161f: This server is Raft leader for term 2. Latest log index is 5.
50 | 2016-08-28T07:27:57.814520735 88.943655s info: Table 737a82a4-d076-4138-836a-3a598bef1097: Starting a new Raft election for term 2.
51 | 2016-08-28T07:27:57.876346952 89.005482s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: Starting a new Raft election for term 2.
52 | 2016-08-28T07:27:58.346879348 89.476014s info: Table 737a82a4-d076-4138-836a-3a598bef1097: This server is Raft leader for term 2. Latest log index is 5.
53 | 2016-08-28T07:27:58.414180347 89.543315s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: This server is Raft leader for term 2. Latest log index is 4.
54 | 2016-08-28T07:29:20.067102879 171.196238s notice: Server got SIGINT from pid 0, uid 0; shutting down...
55 | 2016-08-28T07:29:20.067184407 171.196319s notice: Shutting down client connections...
56 | 2016-08-28T07:29:20.110249008 171.239384s notice: All client connections closed.
57 | 2016-08-28T07:29:20.110254796 171.239389s notice: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
58 | 2016-08-28T07:29:20.136635453 171.265770s notice: Storage engine shut down.
59 | 2016-08-28T07:30:58.727495919 85.344691s notice: Running rethinkdb 2.3.4~0jessie (GCC 4.9.2)...
60 | 2016-08-28T07:30:58.730656596 85.347852s notice: Running on Linux 3.16.0-4-amd64 x86_64
61 | 2016-08-28T07:30:58.730724779 85.347918s notice: Loading data from directory /home/patrick/Programming/vue-horizon/rethinkdb_data
62 | 2016-08-28T07:30:58.855413461 85.472608s info: Cache size is set to 200 MB
63 | 2016-08-28T07:30:58.856927696 85.474122s warn: Cache size does not leave much memory for server and query overhead (available memory: 1080 MB).
64 | 2016-08-28T07:30:58.859460311 85.476654s notice: Listening for intracluster connections on port 49395
65 | 2016-08-28T07:30:58.982911845 85.600106s notice: Listening for client driver connections on port 36649
66 | 2016-08-28T07:30:58.983126140 85.600320s notice: Listening for administrative HTTP connections on port 53585
67 | 2016-08-28T07:30:58.983177434 85.600371s notice: Listening on cluster addresses: 127.0.0.1, 127.0.1.1, ::1
68 | 2016-08-28T07:30:58.983182186 85.600375s notice: Listening on driver addresses: 127.0.0.1, 127.0.1.1, ::1
69 | 2016-08-28T07:30:58.983185448 85.600379s notice: Listening on http addresses: 127.0.0.1, 127.0.1.1, ::1
70 | 2016-08-28T07:30:58.983188882 85.600382s notice: To fully expose RethinkDB on the network, bind to all addresses by running rethinkdb with the `--bind all` command line option.
71 | 2016-08-28T07:30:58.983192122 85.600385s notice: Server ready, "debian_rhj" 10028091-a713-4797-a858-eedb79ed3962
72 | 2016-08-28T07:31:00.097196918 86.714391s info: Table 442d25a6-b881-4654-ab37-2600d112161f: Starting a new Raft election for term 3.
73 | 2016-08-28T07:31:00.148057179 86.765251s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: Starting a new Raft election for term 3.
74 | 2016-08-28T07:31:00.158813802 86.776008s info: Table 442d25a6-b881-4654-ab37-2600d112161f: This server is Raft leader for term 3. Latest log index is 10.
75 | 2016-08-28T07:31:00.258491074 86.875685s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: This server is Raft leader for term 3. Latest log index is 8.
76 | 2016-08-28T07:31:00.316187066 86.933381s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: Starting a new Raft election for term 3.
77 | 2016-08-28T07:31:00.443808415 87.061002s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: This server is Raft leader for term 3. Latest log index is 8.
78 | 2016-08-28T07:31:00.882369376 87.499563s info: Table 737a82a4-d076-4138-836a-3a598bef1097: Starting a new Raft election for term 3.
79 | 2016-08-28T07:31:01.114395147 87.731589s info: Table 737a82a4-d076-4138-836a-3a598bef1097: This server is Raft leader for term 3. Latest log index is 10.
80 | 2016-08-28T07:35:48.627426295 375.244621s info: Table c6cd3e11-e697-46a8-9030-64469d226527: Starting a new Raft election for term 1.
81 | 2016-08-28T07:35:48.627779130 375.244973s info: Table c6cd3e11-e697-46a8-9030-64469d226527: Added replica on this server.
82 | 2016-08-28T07:35:48.706243561 375.323438s info: Table c6cd3e11-e697-46a8-9030-64469d226527: This server is Raft leader for term 1. Latest log index is 0.
83 | 2016-08-28T07:35:50.129649390 376.746843s info: Table c6cd3e11-e697-46a8-9030-64469d226527: Configuration is changing.
84 | 2016-08-29T06:58:50.993924965 82.110366s notice: Running rethinkdb 2.3.4~0jessie (GCC 4.9.2)...
85 | 2016-08-29T06:58:51.011996988 82.128438s notice: Running on Linux 3.16.0-4-amd64 x86_64
86 | 2016-08-29T06:58:51.012235507 82.128672s notice: Loading data from directory /home/patrick/Programming/vue-horizon/rethinkdb_data
87 | 2016-08-29T06:58:51.336089524 82.452531s info: Cache size is set to 200 MB
88 | 2016-08-29T06:58:51.341579011 82.458016s notice: Listening for intracluster connections on port 50049
89 | 2016-08-29T06:58:52.028193812 83.144630s notice: Listening for client driver connections on port 43984
90 | 2016-08-29T06:58:52.028541155 83.144977s notice: Listening for administrative HTTP connections on port 52856
91 | 2016-08-29T06:58:52.028637452 83.145073s notice: Listening on cluster addresses: 127.0.0.1, 127.0.1.1, ::1
92 | 2016-08-29T06:58:52.028641223 83.145077s notice: Listening on driver addresses: 127.0.0.1, 127.0.1.1, ::1
93 | 2016-08-29T06:58:52.028670366 83.145106s notice: Listening on http addresses: 127.0.0.1, 127.0.1.1, ::1
94 | 2016-08-29T06:58:52.028673445 83.145109s notice: To fully expose RethinkDB on the network, bind to all addresses by running rethinkdb with the `--bind all` command line option.
95 | 2016-08-29T06:58:52.028676009 83.145112s notice: Server ready, "debian_rhj" 10028091-a713-4797-a858-eedb79ed3962
96 | 2016-08-29T06:58:52.892679546 84.009116s info: Table 737a82a4-d076-4138-836a-3a598bef1097: Starting a new Raft election for term 4.
97 | 2016-08-29T06:58:52.914482551 84.030919s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: Starting a new Raft election for term 4.
98 | 2016-08-29T06:58:52.978449650 84.094886s info: Table 737a82a4-d076-4138-836a-3a598bef1097: This server is Raft leader for term 4. Latest log index is 15.
99 | 2016-08-29T06:58:52.993830230 84.110267s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: This server is Raft leader for term 4. Latest log index is 12.
100 | 2016-08-29T06:58:53.045658563 84.162095s info: Table c6cd3e11-e697-46a8-9030-64469d226527: Starting a new Raft election for term 2.
101 | 2016-08-29T06:58:53.179923365 84.296360s info: Table c6cd3e11-e697-46a8-9030-64469d226527: This server is Raft leader for term 2. Latest log index is 5.
102 | 2016-08-29T06:58:53.274511557 84.390948s info: Table 442d25a6-b881-4654-ab37-2600d112161f: Starting a new Raft election for term 4.
103 | 2016-08-29T06:58:53.344230253 84.460667s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: Starting a new Raft election for term 4.
104 | 2016-08-29T06:58:53.390138013 84.506575s info: Table 442d25a6-b881-4654-ab37-2600d112161f: This server is Raft leader for term 4. Latest log index is 15.
105 | 2016-08-29T06:58:53.482914061 84.599351s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: This server is Raft leader for term 4. Latest log index is 12.
106 | 2016-08-29T07:43:23.403727220 2754.520164s info: Table bca35378-32ba-4027-921e-cd4c3c73eda4: Starting a new Raft election for term 1.
107 | 2016-08-29T07:43:23.432157611 2754.548595s info: Table bca35378-32ba-4027-921e-cd4c3c73eda4: Added replica on this server.
108 | 2016-08-29T07:43:23.615371809 2754.731809s info: Table bca35378-32ba-4027-921e-cd4c3c73eda4: This server is Raft leader for term 1. Latest log index is 0.
109 | 2016-08-29T07:43:24.894147358 2756.010584s info: Table bca35378-32ba-4027-921e-cd4c3c73eda4: Configuration is changing.
110 | 2016-08-29T08:08:25.730026883 4256.846464s notice: Server got SIGINT from pid 0, uid 0; shutting down...
111 | 2016-08-29T08:08:25.751017572 4256.867455s notice: Shutting down client connections...
112 | 2016-08-29T08:08:25.752266186 4256.868703s notice: All client connections closed.
113 | 2016-08-29T08:08:25.752272907 4256.868709s notice: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
114 | 2016-08-29T08:08:25.969392817 4257.085829s notice: Storage engine shut down.
115 | 2016-08-29T08:09:53.624478840 83.421650s notice: Running rethinkdb 2.3.4~0jessie (GCC 4.9.2)...
116 | 2016-08-29T08:09:53.655914082 83.453082s notice: Running on Linux 3.16.0-4-amd64 x86_64
117 | 2016-08-29T08:09:53.656002995 83.453168s notice: Loading data from directory /home/patrick/Programming/vue-horizon/rethinkdb_data
118 | 2016-08-29T08:09:53.746861781 83.544029s info: Cache size is set to 200 MB
119 | 2016-08-29T08:09:53.747480481 83.544646s notice: Listening for intracluster connections on port 35409
120 | 2016-08-29T08:09:54.051760299 83.848926s notice: Listening for client driver connections on port 51528
121 | 2016-08-29T08:09:54.052003848 83.849169s notice: Listening for administrative HTTP connections on port 40019
122 | 2016-08-29T08:09:54.052037851 83.849203s notice: Listening on cluster addresses: 127.0.0.1, 127.0.1.1, ::1
123 | 2016-08-29T08:09:54.052041292 83.849206s notice: Listening on driver addresses: 127.0.0.1, 127.0.1.1, ::1
124 | 2016-08-29T08:09:54.052044781 83.849210s notice: Listening on http addresses: 127.0.0.1, 127.0.1.1, ::1
125 | 2016-08-29T08:09:54.052070361 83.849235s notice: To fully expose RethinkDB on the network, bind to all addresses by running rethinkdb with the `--bind all` command line option.
126 | 2016-08-29T08:09:54.052072932 83.849238s notice: Server ready, "debian_rhj" 10028091-a713-4797-a858-eedb79ed3962
127 | 2016-08-29T08:09:55.057085381 84.854251s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: Starting a new Raft election for term 5.
128 | 2016-08-29T08:09:55.107386776 84.904553s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: This server is Raft leader for term 5. Latest log index is 16.
129 | 2016-08-29T08:09:55.245666794 85.042833s info: Table bca35378-32ba-4027-921e-cd4c3c73eda4: Starting a new Raft election for term 2.
130 | 2016-08-29T08:09:55.291177812 85.088344s info: Table bca35378-32ba-4027-921e-cd4c3c73eda4: This server is Raft leader for term 2. Latest log index is 5.
131 | 2016-08-29T08:09:55.370318984 85.167485s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: Starting a new Raft election for term 5.
132 | 2016-08-29T08:09:55.465263447 85.262429s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: This server is Raft leader for term 5. Latest log index is 16.
133 | 2016-08-29T08:09:55.868487824 85.665653s info: Table 442d25a6-b881-4654-ab37-2600d112161f: Starting a new Raft election for term 5.
134 | 2016-08-29T08:09:55.926154400 85.723320s info: Table c6cd3e11-e697-46a8-9030-64469d226527: Starting a new Raft election for term 3.
135 | 2016-08-29T08:09:55.949464893 85.746631s info: Table 737a82a4-d076-4138-836a-3a598bef1097: Starting a new Raft election for term 5.
136 | 2016-08-29T08:09:56.134703122 85.931870s info: Table 442d25a6-b881-4654-ab37-2600d112161f: This server is Raft leader for term 5. Latest log index is 20.
137 | 2016-08-29T08:09:56.430781784 86.227948s info: Table c6cd3e11-e697-46a8-9030-64469d226527: This server is Raft leader for term 3. Latest log index is 9.
138 | 2016-08-29T08:09:56.430901176 86.228067s info: Table 737a82a4-d076-4138-836a-3a598bef1097: This server is Raft leader for term 5. Latest log index is 20.
139 | 2016-08-29T08:27:37.210513699 1147.007679s notice: Removing file /home/patrick/Programming/vue-horizon/rethinkdb_data/bca35378-32ba-4027-921e-cd4c3c73eda4
140 | 2016-08-29T08:27:37.210521001 1147.007686s info: Table bca35378-32ba-4027-921e-cd4c3c73eda4: Deleted the table.
141 | 2016-08-29T08:28:18.975729863 1188.772896s notice: Server got SIGINT from pid 0, uid 0; shutting down...
142 | 2016-08-29T08:28:19.005292757 1188.802459s notice: Shutting down client connections...
143 | 2016-08-29T08:28:19.005839166 1188.803005s notice: All client connections closed.
144 | 2016-08-29T08:28:19.005931370 1188.803097s notice: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
145 | 2016-08-29T08:28:19.051784887 1188.848951s notice: Storage engine shut down.
146 | 2016-08-29T08:29:45.907310807 83.875881s notice: Running rethinkdb 2.3.4~0jessie (GCC 4.9.2)...
147 | 2016-08-29T08:29:45.923397989 83.891974s notice: Running on Linux 3.16.0-4-amd64 x86_64
148 | 2016-08-29T08:29:45.923539747 83.892104s notice: Loading data from directory /home/patrick/Programming/vue-horizon/rethinkdb_data
149 | 2016-08-29T08:29:45.996967739 83.965535s info: Cache size is set to 200 MB
150 | 2016-08-29T08:29:45.997242987 83.965808s warn: Cache size does not leave much memory for server and query overhead (available memory: 1094 MB).
151 | 2016-08-29T08:29:46.000172584 83.968737s notice: Listening for intracluster connections on port 46396
152 | 2016-08-29T08:29:46.343297002 84.311862s notice: Listening for client driver connections on port 44582
153 | 2016-08-29T08:29:46.343463041 84.312027s notice: Listening for administrative HTTP connections on port 34424
154 | 2016-08-29T08:29:46.343570367 84.312135s notice: Listening on cluster addresses: 127.0.0.1, 127.0.1.1, ::1
155 | 2016-08-29T08:29:46.343571059 84.312135s notice: Listening on driver addresses: 127.0.0.1, 127.0.1.1, ::1
156 | 2016-08-29T08:29:46.343571449 84.312136s notice: Listening on http addresses: 127.0.0.1, 127.0.1.1, ::1
157 | 2016-08-29T08:29:46.343574658 84.312139s notice: To fully expose RethinkDB on the network, bind to all addresses by running rethinkdb with the `--bind all` command line option.
158 | 2016-08-29T08:29:46.343575137 84.312139s notice: Server ready, "debian_rhj" 10028091-a713-4797-a858-eedb79ed3962
159 | 2016-08-29T08:29:47.335477490 85.304042s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: Starting a new Raft election for term 6.
160 | 2016-08-29T08:29:47.353196109 85.321761s info: Table 442d25a6-b881-4654-ab37-2600d112161f: Starting a new Raft election for term 6.
161 | 2016-08-29T08:29:47.421713130 85.390278s info: Table 14bb5c46-1e73-44b7-b3c3-5fa33b738811: This server is Raft leader for term 6. Latest log index is 20.
162 | 2016-08-29T08:29:47.433218892 85.401784s info: Table 442d25a6-b881-4654-ab37-2600d112161f: This server is Raft leader for term 6. Latest log index is 25.
163 | 2016-08-29T08:29:47.653284874 85.621850s info: Table 737a82a4-d076-4138-836a-3a598bef1097: Starting a new Raft election for term 6.
164 | 2016-08-29T08:29:47.733542492 85.702108s info: Table 737a82a4-d076-4138-836a-3a598bef1097: This server is Raft leader for term 6. Latest log index is 25.
165 | 2016-08-29T08:29:47.771642092 85.740208s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: Starting a new Raft election for term 6.
166 | 2016-08-29T08:29:47.893501138 85.862066s info: Table a92955a4-bbe0-4fa2-bcaa-0053157bb647: This server is Raft leader for term 6. Latest log index is 21.
167 | 2016-08-29T08:29:47.971538603 85.940103s info: Table c6cd3e11-e697-46a8-9030-64469d226527: Starting a new Raft election for term 4.
168 | 2016-08-29T08:29:48.169925642 86.138491s info: Table c6cd3e11-e697-46a8-9030-64469d226527: This server is Raft leader for term 4. Latest log index is 13.
169 | 2016-08-29T08:31:30.360051140 188.328617s info: Table 4c227afb-1208-4ed5-895f-e3468a371106: Starting a new Raft election for term 1.
170 | 2016-08-29T08:31:30.360770440 188.329336s info: Table 4c227afb-1208-4ed5-895f-e3468a371106: Added replica on this server.
171 | 2016-08-29T08:31:30.417873097 188.386438s info: Table 4c227afb-1208-4ed5-895f-e3468a371106: This server is Raft leader for term 1. Latest log index is 0.
172 | 2016-08-29T08:31:31.492141935 189.460707s info: Table 4c227afb-1208-4ed5-895f-e3468a371106: Configuration is changing.
173 |
--------------------------------------------------------------------------------
/rethinkdb_data/metadata:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/patrickbolle/vue-horizon/2beb469b1322e28b5a3208e4338f26d0055a7708/rethinkdb_data/metadata
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
6 |