GithubHelp home page GithubHelp logo

jessroberts / territory_assistant Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.35 MB

License: Apache License 2.0

JavaScript 29.06% Shell 0.55% Clojure 66.17% PLpgSQL 0.83% Java 0.70% HTML 0.24% CSS 2.45%

territory_assistant's Introduction

Territory Bro

Territory Bro is a tool for managing territory cards in the congregations of Jehovah's Witnesses.

For more information, see https://territorybro.com

Travis CI

Semaphore CI

Running

The easiest way to run this application is to use Docker.

Start the database and run database migration scripts to initialize the database

docker-compose pull
docker-compose up -d db
docker-compose run --rm api migrate

Start the application

docker-compose up -d

The application will run at http://localhost:8080

Stop the application

docker-compose stop

Stop the application and remove all data

docker-compose down

Developing

The tools for developing this project are Docker, Java 11 JDK, Leiningen, Node.js and Yarn. It might also be useful to have the PostgreSQL command line tools, even if you run the database with Docker.

Start the database

docker-compose up -d db

Run database migrations

lein run migrate

Start the API backend

lein run

Start the web frontend

yarn install
yarn start

The application will run at http://localhost:8080

Run tests

lein test
yarn run flow check
yarn run test

Running tests automatically on change

lein test-refresh
yarn run autotest    

Download dependency sources

lein pom
mvn dependency:sources

Producing canonical XML for better diffs

xmllint --c14n11 example.qgs > resources/template-territories.qgs

License

Copyright © 2015-2018, Esko Luontola

This software is released under the Apache License 2.0.

territory_assistant's People

Contributors

luontola avatar

Watchers

Jess Roberts avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.