Giter Site home page Giter Site logo

zeuswpi / esoterische_introavond Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 13.0 163 KB

Oplossingen voor de Esoterische Introavond (event 2020/2021)

License: MIT License

Brainfuck 29.69% Python 6.36% BASIC 0.67% FreeBasic 0.88% LOLCODE 1.89% Witcher Script 1.47% Assembly 16.11% Befunge 1.55% Fortran 3.39% Beef 3.67% Java 34.33%
hacktoberfest

esoterische_introavond's Introduction

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.

esoterische_introavond's People

Contributors

awerbrouck avatar brentymcfatty avatar emiliasky avatar fkd13 avatar gertjands avatar hannes-dev avatar iasoon avatar iwijn avatar jay-tux avatar jenstimmerman avatar kaya-sem avatar matt01y avatar mcbloch avatar msathieu avatar nuttyshrimp avatar pcassima avatar pietervdvn avatar procrat avatar realfoxie avatar redfast00 avatar reyniersbram avatar runoboy avatar salalander04 avatar smessie avatar tdpeuter avatar tibo-ulens avatar timodw avatar tomnaessens avatar tyboro2002 avatar xerbalind avatar

Watchers

 avatar  avatar  avatar  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.