Comments (10)
Take a look at https://github.com/fschulze/devpi-example-theme
from devpi.
Thank you.
from devpi.
There are theme examples, and how can I use them in devpi? Easy to debug operation
from devpi.
The devpi_example_theme/theme
folder can be used with devpi-server --theme
when devpi-web is installed. For the other use cases shown in the example you have to install the package and it will work automatically because of this: https://github.com/fschulze/devpi-example-theme/blob/master/devpi_example_theme/__init__.py#L11
from devpi.
devpi-server --theme ./devpi_example_theme
Invalid modification of style.css style
from devpi.
Use devpi-server --theme ./devpi_example_theme/theme
from devpi.
Use
devpi-server --theme ./devpi_example_theme/theme
There will be errors when starting this method.
error:
File "notfound_c8e146b183910da68a9a0290a3fa599d.py", line 239, in render
- Expression: "request.macros['footer']"
- Filename: ... WaY0Jl\lib\site-packages\devpi_web\templates\notfound.pt
- Location: (line 14: col 33)
- Source: ... al:footer use-macro="request.macros['footer']" />
^^^^^^^^^^^^^^^^^^^^^^^^
- Arguments: view: <function ('notfound',) at 0x1e3d8b48dc0>
renderer_name: templates/notfound.pt
renderer_info: <RendererHelper ('None',) at 0x1e3d9fdb430>
context: <HTTPNotFound ('None',) at 0x1e3da112620>
request: <Request ('None',) at 0x1e3d9fdb580>
req: <Request ('None',) at 0x1e3d9fdb580>
get_csrf_token: <partial ('None',) at 0x1e3da0895d0>
msg: <HTTPNotFound ('None',) at 0x1e3da112620>
target_language: <NoneType ('None',) at 0x7ffb9fa687f8>
repeat: <RepeatDict ('None',) at 0x1e3d9fdb460>
macroname: request.macros['footer']
versin:
devpi-web: 4.2.0
devpi-server: 6.8.0
from devpi.
I have to look into that error.
Maybe this is a simpler example:
https://github.com/devpi/devpi.net/tree/master/theme
from devpi.
There are also some docs: https://devpi.net/docs/devpi/devpi/stable/+d/adminman/web.html#themes
from devpi.
Ok.
from devpi.
Related Issues (20)
- [discussion] Asyncio speedups HOT 7
- docs zip contains unwanted package source files HOT 3
- [client] upload `OSError: [Errno 18] Invalid cross-device link '/tmp/devpi-…/dist/….whl' -> 'dist/….whl'` HOT 2
- Cannot load packages when use base auth in gitlab registry mirror HOT 4
- Need help upgrading from 4.4.0 to current HOT 3
- Incorrect version given to doczip with devpi-client version 7.0.0 HOT 7
- All >400 HTTP responses from login provoke a SystemExit, not using fatal, and are not always fatal errors for login HOT 1
- Errors when sharing package files HOT 8
- Option to have the latest available documentation displayed, when a package has no docs HOT 2
- Support PEP 658 / PEP 714 HOT 8
- HTTP error 502 while retrieving a wheel file HOT 6
- Return HTTP 406 instead of HTTP 404 when `Accept` cannot be fulfilled HOT 4
- Support range requests when downloading files HOT 3
- Connection failures when downloading wheels HOT 6
- Devpi test fails with something related to build(i assume) HOT 6
- Server fatal exception: KeyError: 'projects' HOT 15
- Wheel file including +(Plus sign) doesn't mirrored from origin.
- Support Large Object Files (.whl, egg) greater than 1Gib with postgres HOT 1
- pytz package can't be installed from an index other that root/pypi HOT 1
- Password-less authentication HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devpi.