An open API service indexing awesome lists of open source software.

https://github.com/tarantool/try

try.tarantool.org scripts
https://github.com/tarantool/try

Last synced: 12 months ago
JSON representation

try.tarantool.org scripts

Awesome Lists containing this project

README

          

# Interactive Tarantool web console.

try.tarantool.org

Turn Tarantool into an HTTP server and a load balancer and provide an interactive Lua console to a bunch of Tarantool instances running in a Linux container.

## Quickstart

You can start try.tarantool.org on your host with Docker:

``` bash
docker build -t try .
docker run --rm -t -i --privileged -p 8080:11111 try
```

Then point your browser to [localhost:8080](http://localhost:8080)

#### Installation

You can start tarantool-try on your host.
Prerequisites:
* tarantool
http://tarantool.org
* docker
http://www.docker.com/
* tarantool http https://github.com/tarantool/http/ (use luarocks https://github.com/tarantool/rocks )

```
git clone https://github.com/tarantool/try
```
Build docker image:
```
cd /try/container/
sudo docker build -t tarantool .
```
Add user to group `docker`:
```
sudo echo usermod -a -G docker $USER
```
Start try-tarantool web server:
```
tarantool start.lua
```
Web server runs on `localhost:11111` by default.
You can change host, port and tarantool configuration in start.lua