Neversleep
Immutable data structure server, in Clojure
Install / Use
/learn @raspasov/NeversleepREADME
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).
- Edit /etc/neversleep-db/config.clj to configure MySQL - specify your own :host, :port, :database-name, :user and :password
- 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
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
