GithubHelp home page GithubHelp logo

geeklabx / glot-www Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glotcode/glot-www

0.0 0.0 0.0 5.27 MB

glot.io website

Home Page: https://glot.io/

License: MIT License

Shell 0.61% JavaScript 19.47% Emacs Lisp 0.07% Haskell 50.85% Nix 1.13% Dhall 27.87%

glot-www's Introduction

glot-www

Overview

glot-www is the website hosted at glot.io. Code are run through docker-run PostgreSQL is used as the datastore.

Environment variables

glot-www takes its configuration from environment variables. All vars need to be set, no default values are provided.

Variable name Allowed values Example Description
APPROOT url https://glot.io Base url to where the app is hosted
PORT 1-65535 3000 Listen port
PGHOST hostname 10.0.0.12 Postgresql host
PGPORT 1-65535 5432 Postgresql port
PGUSER string glot Postgresql username
PGPASS string secret-password Postgresql password
PGDATABASE string glot Postgresql database name
DOCKER_RUN_BASE_URL url http://docker-server:8088 Url to docker-run
DOCKER_RUN_ACCESS_TOKEN string some-secret-token docker-run access token
DOCKER_RUN_RESPONSE_TIMEOUT integer 60 Seconds to wait for the response
MAILGUN_DOMAIN string glot.io Mailgun domain
MAILGUN_API_KEY string key-1234567890 Mailgun api key
ANALYTICS_ID string secret-id Google analytics id (optional)
DISABLE_ADS boolean true Disable ads (optional)

Compile from source

git clone [email protected]:glotcode/glot-www.git
cd glot-www
stack build

Develop with yesod-bin

git clone [email protected]:glotcode/glot-www.git
cd glot-www
stack build yesod-bin
./dev.sh

glot-www's People

Contributors

prasmussen avatar steinwaywhw avatar rightfold avatar hv15 avatar aloisdg avatar jayharr-is avatar nishtahir avatar vinnymac avatar leandros avatar aude avatar aranaur avatar mattoates avatar ohaal avatar oprypin avatar styfle 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.