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
- Host: GitHub
- URL: https://github.com/tarantool/try
- Owner: tarantool
- License: other
- Created: 2014-07-22T13:21:07.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2021-08-13T17:53:07.000Z (almost 5 years ago)
- Last Synced: 2025-04-14T15:13:27.275Z (about 1 year ago)
- Language: CSS
- Size: 4.65 MB
- Stars: 3
- Watchers: 37
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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