Skip to content

totem-technologies/totem-server

Repository files navigation

Totem Server

Black GitHub Workflow Status

Guided introspection groups at totem.org

Basic Commands

  • make
  • make assets
  • make test
  • make deploy

Setting Up

Requirements:

  • Docker Compose
  • Node.js

Steps:

  • Run make to bring up the dev environment. You may need to make a blank .env file in the root directory.
  • Run make assets to compile the assets.

Running Tests

  • Run make test to run the tests.

Deployment

  • make deploy to deploy to the staging server.
  • make deploy-prod to deploy to the production server.

Deployment notes

  • Totem used dokku for deployment. The Dockerfile is used to build the image.
    • Configure dokku to use the production Dockerfile: dokku builder:set totem selected dockerfile and dokku builder-dockerfile:set totem dockerfile-path compose/production/django/Dockerfile