Setup "dataspectsSystem"

From Dataspects
Jump to: navigation, search

Design[edit | edit source]

See The Twelve-Factor App

CanBeInstalled From[edit | edit source]

someUser@someWorkstation:~$ git clone

SetupMethod "Dockerized in VirtualBox VM"[edit | edit source]

HasQualityAssuredBy dataspectsNonLinuxTeam

Step 1: Install VirtualBox and Vagrant[edit | edit source]

Step 2: Build vagrantized/dockerized dataspectsSystem[edit | edit source]

On Linux/Windows/Mac[edit | edit source]
someUser@someWorkstation:~/dataspectsSystem$ vagrant up

Edit hosts file[edit | edit source]

Add these lines to /etc/hosts: wikidataspectssystem wikidataspectssystem_clone

Visit dockerized dataspectsSystem[edit | edit source]


Visit vagrantized/dockerized dataspectsSystem[edit | edit source]


CanBeInstalled Manually[edit | edit source]

Ubuntu[edit | edit source]

  • Have your Docker credentials ready to pull Docker images from
  • Create /usr/local/dataspects/docker-compose.yml
  • Clone your Go customization repository to /usr/local/dataspects/go
  • Clone your Ruby customization repository to /usr/local/dataspects/ruby
  • Clone your UI customization repository to /usr/local/dataspects/ui
    • public
    • views

CanBeDeveloped Yes[edit | edit source]

Develop dataspectsSystem

MustBeMaintained Yes[edit | edit source]

Step 1: Check your Docker server's resources[edit | edit source]

  • apt update && apt upgrade
  • User "docker"
    • sudo privileges
  • RAM
  • Disk space
  • SSH
  • docker ps -a
    • /root/.ssh/authorized_keys
  • Certificates
    • Let's Encrypt Expirations

Step 2: Check your Docker server for docker-compose.yml files[edit | edit source]

user@dockerserver:~$ find / -iname docker-compose.yml

Step 3: Check for and perform Docker image upgrades[edit | edit source]

  1. Check currently run versions by user@dockerserver:~/your_dataspects_system_instance_folder$ grep image: docker-compose.yml
  2. Check registries for newer tags:
  3. Edit docker-compose.yml
  4. Run docker-compose stop && docker-compose up --detach

Step 4: Websites/Apps[edit | edit source]

  • Backups
    • Crontab
    • docker ps -a
    • Destinations