terra-ops / example-drupal8

Front-end for Terra, powered by Drupal 8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terra Server

Web-based front end for Terra.

This is a Drupal 8 site that is used as the front-end for Terra.

It will fill a few roles:

  • Web Interface.
  • REST Interface.
  • Webhook endpoints for Git integration.

Launching Terra Server

You can use Terra App to launch and develop Terra Server.

Once you have the terra app installed:

  1. terra app:add terra_server git@github.com:terra-ops/terra-server.git
  2. terra environment:add terra_server local
  3. terra environment:enable terra_server local
  4. Visit the URL output by terra.
  5. Click through the Drupal installer, selecting "Terra Server" as your install profile.
  6. Use the "drupal" for the database name, user, and password. Use "database" for the database host.
  7. Click "submit" and it will run the installer.
  8. Fill out the "Configure Site" page with any information you want.
  9. Done! You should now have a fully working drupal 8 site that shows the list of apps terra is tracking!

Terra Server UI

How This Works

Terra Server runs on a machine managed by the terra app.

The terra server app has an additional volume mounting the terra-app's config folder (~/.terra) to /var/terra inside the container.

The terra_server module has a configuration path_to_config which is set to /var/terra by default.

This way, the Terra server can read the same config file that the terra app uses.

About

Front-end for Terra, powered by Drupal 8

License:GNU General Public License v2.0


Languages

Language:PHP 94.5%Language:JavaScript 3.0%Language:HTML 1.2%Language:CSS 1.1%Language:Shell 0.2%Language:ApacheConf 0.0%