Skip to content

Vagrant/Ansible deployment for Dative & the Online Linguistic Database

Notifications You must be signed in to change notification settings

dativebase/deploy-dative-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

OLD/Dative Vagrant/Ansible Deploy Scripts

This Vagrant/Ansible deploy set up does the following:

  1. creates a Ubuntu 14.04 server,
  2. installs the OLD and its Python/system dependencies
  3. installs Dative
  4. initializes/configures one or more OLD instances - creates MySQL database(s), tables, default rows - creates store/ directory structures for OLD instances
  5. serves the OLD instance(s) (nginx)
  6. serves Dative

Usage

Donwload the Ansible roles. These install and configure MySQL (Percona), the OLD, Dative and Nginx.:

$ cd deploy-dative-old/playbooks/dative-old
$ ansible-galaxy install -f -p roles/ -r requirements.yml

Create the virtual machine and provision it:

$ vagrant up

To log in to the virtual machine:

$ vagrant ssh

If you make changes to the code and want to re-provision the virtual machine (via Ansible), run:

$ vagrant provision

To re-provision by only running tasks with specific tags, e.g., the dative tag, run:

$ env ANSIBLE_ARGS="--tags=dative" vagrant provision

Configuration

Tweak vars in vars-singlenode.yml. In particular, modify old_instances to control the OLD instances that are created.

About

Vagrant/Ansible deployment for Dative & the Online Linguistic Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages