Skip to content

raspasov/neversleep

Repository files navigation

NeverSleep

NeverSleep is an immutable data structure server, written in Clojure

This is Alpha level software, use with care!

Getting started

Ubuntu

Tested on Ubuntu 14.04 LTS

Install, configure and run

Make sure you have the latest version of Java 8:

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer

Download and install NeverSleep: neversleep-1.0.0-alpha1.deb

$ wget https://s3-us-west-2.amazonaws.com/neversleep/neversleep-1.0.0-alpha1.deb
$ sudo dpkg -i neversleep-1.0.0-alpha1.deb

NeverSleep uses third party storage backends to store your data. MySQL is the only one currently supported (DynamoDB and other SQL-compatible servers are coming soon).

  1. Edit /etc/neversleep-db/config.clj to configure MySQL - specify your own :host, :port, :database-name, :user and :password
  2. In the database that you specified under :database-name, import those tables

Optionally (but strongly recommended), edit /etc/neversleep-db/jvm-config to specify your JVM heap size; Xms and Xmx values are strongly recommended to be the same. The default JVM heap size specified in jvm-config is 256MB. Heap of at least 3GB is recommended for production.

Ready to go? Start the server:

$ sudo service neversleep-db start

Usage

License

Copyright © 2015 Rangel Spasov

About

Immutable data structure server, in Clojure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages