Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.
/ schule Public archive

Wiki, Stundenplan und Vertretungsplan für moderne Browser

License

Notifications You must be signed in to change notification settings

mohe2015/schule

Repository files navigation

schule

Requirements

Installation

./setup.sh

(ql:quickload :schule)
;;(schule.db:do-generate-migrations)
(schule.db:do-migrate)
(schule:development)
(in-package :schule.web)
(create-dao 'user :name "admin" :hash (hash "admin") :group "admin")
(create-dao 'user :name "Anonymous" :hash (hash "xfg3zte94h") :group "anonymous")
(create-dao 'user :name "<your name>" :hash (hash "fjd8sh3l2h") :group "user"))
npm install html-minifier -g
html-minifier --collapse-boolean-attributes --collapse-inline-tag-whitespace --collapse-whitespace --decode-entities --remove-attribute-quotes --remove-comments --remove-empty-attributes --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-style-link-type-attributes --remove-tag-whitespace --sort-attributes --sort-class-name --trim-custom-fragments --use-short-doctype -o www/index.html www/index.html
java -jar closure-compiler-v20181210.jar --js_output_file=www/s/result.js --externs externs/jquery-3.3.js www/s/jquery-3.3.1.js www/s/popper.js www/s/bootstrap.js www/s/summernote-bs4.js www/s/visual-diff.js www/s/index.js
npm i -g purgecss
purgecss --content www/index.html --css www/s/all.css --css www/s/bootstrap.min.css --css www/s/index.css --css www/s/summernote-bs4.css -o www/s/ --content www/s/*.js

Coding

read -s -p "substitution-schedule password: " SUBSTITUTION_SCHEDULE_PASSWORD
RUST_BACKTRACE=1 SUBSTITUTION_SCHEDULE_USERNAME=schueler SUBSTITUTION_SCHEDULE_PASSWORD=$SUBSTITUTION_SCHEDULE_PASSWORD ros emacs

Browser debugging

Accessing modules

import('../js/utils.lisp').then(m => module = m)

Buggy quicklisp

cd $HOME/.roswell/local-projects
find -L -name '*.asd' > system-index.txt

(declaim (optimize (compilation-speed 0) (debug 3) (safety 3) (space 0) (speed 0)))

About

Wiki, Stundenplan und Vertretungsplan für moderne Browser

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published