Skip to content
No description, website, or topics provided.
Ruby Shell HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
livecode-centos7-httpd
maria-db
nginx-filebeat
nginx
user-data
.gitignore
CONTRIBUTING
LICENSE
README.md
Vagrantfile
docker-compose-vagrant.yml
docker-compose.yml

README.md

LiveCode Community Server - Dockerised!

LiveCode is a scripting language maintained by LiveCode Ltd.

This repo provides LiveCode Community Server running as a Docker multi-container application. Also provided is a Vagrant environment to run the containers.

  • livecode-centos7-httpd
    • LiveCode Community Server running as a CGI handler within an Apache web server environment on Centos 7.
  • maria-db
    • Official build of MariaDB, the community-developed fork of MySQL.
  • nginx
    • Official build of Nginx.
  • nginx-filebeat
    • Example showing shipping Nginx logs to ELK with Filebeat

Getting Started

These instructions will get you a LiveCode Community Server environment up and running on your local machine for development and testing purposes.

Prerequisites

Required: Docker & Docker Compose

Optional: Vagrant

Run with Docker

Clone the repository git clone and change into the directory

Add your LiveCode to the folder user-data/html

Add your database .sql (if required) to the folder user-data/mariadb/db-src

Build the containers docker-compose build

Start the application docker-compose -f docker-compose.yml up

Open http://127.0.0.1 in your browser

Run in Vagrant environment

Clone the repository git clone and change into the directory

Add your LiveCode to the folder user-data/html

Add your database .sql (if required) to the folder user-data/mariadb/db-src

Start the Vagrant box vagrant up

Open http://192.168.50.100 in your browser. Vagrant will also create a hosts entry for livecode.local (subject to plugin compatability) so http://livecode.local should also work in your browser.

Container settings

MariaDB

Configure the MariaDB container by modifying the docker-compose.yml / docker-compose-vagrant.yml files.

MYSQL_ROOT_PASSWORD: livecode
MYSQL_USER: livecodeuser
MYSQL_PASSWORD: livecode
MYSQL_DATABASE: livecode

Initialisation

The directory ./user-data/mariadb/db-src is used for /docker-entrypoint-initdb.d

Place MairaDB/MySQL dump/create files with the suffix .sql in ./user-data/mariadb/db-src for automagical execution on container initialisation.

Persistence

The volume db-data is defined and mounted at /var/lib/mysql

Contributing

Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors and acknowledgments below.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

You can’t perform that action at this time.