Giter Site home page Giter Site logo
Zeus WPI photo

zeuswpi Goto Github PK

repos: 101.0 gists: 0.0

Name: Zeus WPI

Type: Organization

Bio: Zeus WPI is the student association for Computer Science at Ghent University. See also github.com/12urenloop and git.zeus.gent

Location: Ghent, Belgium

Blog: https://zeus.gent

ZeusWPI

Zeus Extraordinary Uploading Service With Productive (Prolog) Interface

Development

Install SWI-Prolog using asdf.

asdf install

This project relies on Redis for performant session storage. You can start an instance using the provided docker-compose.devel.yml file.

Next create the required directories.

mkdir -p {data,files}

Then start the development (Live reload) server using:

swipl src/main.pl devel 5000

Or run the above steps by running make devel.

Visit your browser at http://localhost:5000.

Deployment

The deployment setup is contained in the provided docker-compose.yml file.

There are 3 environment variables to change:

Key Value
ZEUSWPI_CLIENT_ID The OAUTH Client ID
ZEUSWPI_CLIENT_SECRET The OAUTH Secret
ZEUSWPI_REDIRECT_URI The OAUTH Redirect URI (Set the correct domain)

You also need to create the required directories in this mode. As these will be mounted as volumes in the container.

mkdir -p {data,files}

Then start with:

docker compose up -d

Adding admins

First the person you want make an admin has to log in to the application once. Then on the server find the user fact in the database data/user.db

assert(user(69,"the_admin",user)).

and update the record to

assert(user(69,"the_admin",admin)).

then restart the application.

Zeus WPI's Projects

cat icon cat

Hugs and wrong abbreviations (mirror at https://git.zeus.gent/ZeusWPI/cat)

dapm icon dapm

Draaien aan potentiometers

donation-counter icon donation-counter

A donation counter for the teamtrees donation event during the 2019 Christmas codenight

dut icon dut

Dark Ufora Theme, dutjes mogen!

eagle icon eagle

The must have tool for every Zeus'er. Everything at your fingertips only limited by the speed of your command line.

errbit icon errbit

The open source error catcher that's Airbrake API compliant

fk-enrolment icon fk-enrolment

Enrolment system for new members of FK-clubs at Ghent University.

gamification icon gamification

Gamification of Zeus member engagement. Replaced by gamification2

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.