Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
schildergenerator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schilder
schildergenerator
Commits
dda922f7
Commit
dda922f7
authored
9 years ago
by
Dave Kliczbor
Browse files
Options
Downloads
Patches
Plain Diff
Forgot to add README.md to the last commit
parent
c0fb548a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+27
-4
27 additions, 4 deletions
README.md
with
27 additions
and
4 deletions
README.md
+
27
−
4
View file @
dda922f7
...
...
@@ -10,11 +10,11 @@ You might find it useful in the following scenarios:
*
You often need to change some signs in your organization.
*
You're bored in the Fachschaftsbüro.
What you need:
What you need
for this tool to unleash it's maximum potential
:
*
A printer on premise.
*
Some kind of server, preferrably running a flavor of Linux, capable of printing
on said printer via lpd. A RaspberryPi would suffice, even if it's slow.
on said printer via lpd
interface
. A RaspberryPi would suffice, even if it's slow.
*
Web clients of any type being able to connect to said server.
*
The knowledge to modify a LaTeX template to fit your organizations design.
...
...
@@ -57,8 +57,11 @@ Config
Modify the templates
--------------------
In most cases, you just need to edit tex/support/header.tex and add your logo
in tex/support . After you changed it, you might want to run
In most cases, you just need to edit
`tex/support/header.tex`
and add your logo
in
`tex/support`
. A suitable test workflow might be recreating the same sign in
the webinterface while always saving under the same name.
After you're done with modifying the template, you might want to run
$ python schilder.py --recreate-cache
...
...
@@ -74,6 +77,26 @@ You need to have the config done. Then you could just start the server in debug
$ python schilder.py
This will serve a webpage at http://localhost:5432/ for testing purposes.
General directory layout
------------------------
schildergenerator
├── schilder.py
├── config.py
├── schilder.wsgi
├── data (sign store: needs to be writable, recursively)
│ ├── cache (template preview cache)
│ ├── images (image store + thumbnail cache)
│ ├── pdf (pdf versions of all signs, including thumbnails)
│ └── upload (image upload handler temp dir, non-empty only after errors)
├── static (static web UI files)
├── templates (web UI HTML templates)
└── tex (strictly LaTeX sign templates only)
└── support (everything your LaTeX template needs: includes, macros, logo files, ...)
Webserver Deployment
--------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment