Coder Social home page Coder Social logo

datomic-free's Introduction

Description

A wrapper around Datomic Free that makes it easy to start Datomic Free transactors and upgrade to newer versions.

Usage

For first time users:

$ git clone https://github.com/cldwalker/datomic-free.git ~/.datomic-free
$ ~/.datomic-free/bin/datomic-free start

# To make it easy to use `datomic-free` add an alias to your bashrc/zshrc
$ echo 'alias datomic-free=$HOME/.datomic-free/bin/datomic-free' >> ~/.zshrc
$ . ~/.zshrc
$ datomic-free start

# To specify transactor.properties (Absolute path only)
$ datomic-free start /absolute/path/to/transactor.properties

# To migrate existing data/ to datomic-free
$ rm -rf ~/.datomic-free/data
$ cp -R $OLD_DATOMIC_REPO/data  ~/.datomic-free/

Whenever you'd like to update to the latest Datomic Free:

$ datomic-free update

This new version is now the active datomic-free version. Since datomic-free keeps data outside of versions in ~/.datomic-free/data, you use the same data across versions by default.

To update to a specific version, pass a version:

$ datomic-free update 0.8.3627

To use another version you've already installed:

$ datomic-free use 0.8.3646

License

See LICENSE.txt. This project is in no way affiliated with Datomic (Metadata Partners, LLC).

Credits

  • Thanks to @richhickey and @stuarthalloway for datomic
  • Thanks to @rkneufeld for the downloading function of the shell script
  • Bug fixes: @sherbondy

TODO

  • Allow other config and args to bin/transactor
  • rest command to execute bin/rest
  • better help
  • better exit codes
  • better error checking for use
  • convert this readme to a man page

datomic-free's People

Contributors

cldwalker avatar sherbondy avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.