Skip to content

dashed/grokdb2

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Development setup

Base requirements

git
sqlite3

OSX

brew install sqlite3

brew install openssl
# https://github.com/sfackler/rust-openssl/tree/b8fb29db5c246175a096260eacca38180cd77dd0#osx
# https://github.com/sfackler/rust-openssl/issues/255#issuecomment-257462451

// TODO: other dependencies? libc

Assets

cd assets
unzip MathJax-2.6.1.zip
mv MathJax-2.6.1 mathjax

Javascript

$ node --version
v6.2.1
cd ./client_src
yarn install
yarn webpack

NOTE: npm install webpack -g

Generate static react components

This generates string (server-side) versions of some react components, and places them on /src/react_components. These files are injected and inlined into the rust application.

build.sh

Rust

$ rustc --version
rustc 1.23.0-nightly (2be4cc040 2017-11-01)
  1. install rust via https://www.rustup.rs/
  2. ./buildrun.sh

If build fails

NOTE: use nightly rust. see: https://github.com/rust-lang-nursery/rustup.rs#working-with-nightly-rust

rustup override set nightly-2017-11-01
rustup update
cargo update

On linux

NOTE: work in progress

ubuntu provision

apt-get install git apt-get install build-essential apt-get install libssl-dev apt-get install sqlite3 libsqlite3-dev

curl https://sh.rustup.rs -sSf | sh rustup default nightly

git clone git@github.com:dashed/grokdb2.git ./buildrun.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages