GithubHelp home page GithubHelp logo

valohai / citadel Goto Github PK

View Code? Open in Web Editor NEW
1.0 6.0 0.0 1.05 MB

Code in the Dark event management system

License: MIT License

Python 77.63% CSS 4.58% HTML 12.88% Shell 0.69% JavaScript 2.68% Dockerfile 1.54%

citadel's Introduction

Citadel

A Code In The Dark event management system.

Citadel is an integrated Django app for managing Code In The Dark events.

Deployment

Using Docker

This will assume you want to store variable data (database, assets, screenshots, etc.) in the "data" subdirectory of the current directory.

The default admin password is totoro (unless you set one with the ADMIN_PASSWORD environment variable).

Naturally, replace FIGUREOUTSOMETHINGSECRET with an uniquely generated secret key.

docker build -t citadel .
mkdir `pwd`/data
# start the server, publishing on port 8000
docker run -it \
    -e SECRET_KEY=FIGUREOUTSOMETHINGSECRET \
    -v `pwd`/data:/data \
    -p 8000:8000 \
    citadel

Development without Docker

  • Ensure you've cloned submodules (git submodule update --init --recursive)
  • Install dependencies for the editor (npm ci in code-in-the-dim/)
  • Get a Python 3.11+ virtualenv up and running
  • Run pip install -e .[dev]
  • Set the DEBUG environment variable to something truthy
  • Run npm ci and npm run build (with --watch if you need to)
  • python manage.py migrate
  • python manage.py cicore_init
  • python manage.py runserver

License

  • The project is Copyright (c) 2017, Valohai; licensed under the MIT License.
  • The Code in the Dark name and logos are Copyright (c) 2017, Tictail Inc.; licensed under the 3-clause BSD License (see LICENSE.tictail). The use of the Code in the Dark brand in this repository is in good faith. Any requests for external use should seek the permission of Tictail directly.

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.