Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 04 16:55
    blaisep commented #234
  • Sep 04 16:49
    blaisep commented #234
  • Aug 27 17:27
    ooduor opened #235
  • Aug 27 17:26

    ooduor on ooduor-with-meta-description

    Add Missing site_description to… (compare)

  • Aug 26 18:22
    clickio opened #234
  • Aug 02 14:10
    VirtUalProtoss opened #233
  • Jul 02 22:45
    slav0nic commented #210
  • Jul 02 09:34
    slav0nic commented #232
  • Jul 01 11:16
    slav0nic opened #232
  • Jun 30 11:52
    slav0nic commented on fe24a9d
  • Jun 27 11:22
    codecov-io commented #231
  • Jun 27 11:19
    codecov-io commented #231
  • Jun 27 11:13
    codecov-io commented #231
  • Jun 27 11:13
    slav0nic synchronize #231
  • Jun 26 19:21
    codecov-io commented #231
  • Jun 26 19:21
    codecov-io commented #231
  • Jun 26 19:19
    codecov-io commented #231
  • Jun 26 19:11
    slav0nic opened #231
  • Jun 26 18:33
    codecov-io commented #230
  • Jun 26 18:30
    codecov-io commented #230
Mikko Ohtamaa
@miohtama
@blaisep very goo dinput, thank you
@blaisep I am a heavy user of Ansible mysef
though it is an extra complexity for new developers - we probably need different Docker image for production and for development
Blaise Pabon
@blaisep

OK, I can tell that I reallly want to use web sauna for my current two projects... Doing a multi-stage Dockerfile will reduce the size of the final image. I don't yet know enough to suggest the structure of the Docker image(s). However, it does seem like we would want three distinct use cases, and I'll use pseudo-code for convenience:

make demo to produce a default cookiecutter project and running dev server so that a user can access a working project without making any decisions.
make dev to produce a installed project with optional modules and a data volume to overlay the source directory.

make stage to produce a production-ready project, importing secrets and user accounts during the intermediate build stages.

.... does anyone in this group run Websauna on k8s or perhaps OpenShift?

clickio
@clickio
I will tru pinging all 71 members as I think this docker image will be an important step in the popularity of websauna: so, @/all please help us make an official docker image for websauna
and i hope no one will bothered/upset by that
Kevin Horn
@khorn
Ahoy! How can I get a hold of the json renderer to add adapters to serialize e.g. datetimes, etc.? I know how to do this in Pyramid, but in WebSauna it seems to be hidden someplace...
Kevin Horn
@khorn
Aha! Found it. Initializer.config is a Configurator. Nevermind!
Mikko Ohtamaa
@miohtama
@khorn ah
clickio
@clickio
hello, any news on the docker file? @blaisep
@all please help us make an official docker image for websauna
@/all please help us make an official docker image for websauna
clickio
@clickio
hello guys
any updates on that docker image?
@/all please help us make an official docker image for websauna
Steve Piercy
@stevepiercy
@clickio is there an issue for it in the issue tracker? if so, is it assigned to anyone? obviously it gets done at the speed of open source volunteers, if at all
clickio
@clickio
oh, ok, i'll try adding it to the issue tracker. thanks!
Érico Andrei
@ericof
@clickio Post the link to the issue here and I will take a look ;-)
clickio
@clickio
Érico Andrei
@ericof
Thanks
Blaise Pabon
@blaisep
@clickio , I'm sorry I have been away. I may have some more time now because web sauna is becoming a higher priority. I opened websauna/websauna.ansible#17 to consider if an update Ansible role might be a more useful approach.
Érico Andrei
@ericof
Thanks @blaisep !
clickio
@clickio
yeah @ericof and @blaisep and @miohtama please decide on this, Ansible is not my cup of tea.... YET:)
Érico Andrei
@ericof
Yet :-)
Blaise Pabon
@blaisep

Honestly, I have a love/hate relationship with Ansible... it's like vim in the sense that it is idiosyncratic, unintuitive and inconsistent.... until you try the alternatives.... So, I am trying to promote good devops practices at work these days and have some to the conclusion that:

For automating processes on the local machine: Makefile.... For automating processes on remote machines: Ansible

Blaise Pabon
@blaisep
Also, in keeping with websauna security orientation, I would recommend using podman instead of Docker because it does not require any root privilege. Again, for the purpose described by @clickio , I think is best to have a very opinionated "hello-world" default (maybe a swagger pet-shop app) make demo and then one file to place any custom vars and then make dev (where the Makefile triggers the ansible playbook). I am just a visitor here so please let me know what is most feasible in this community.
clickio
@clickio
hi guys, any progress?
@blaisep ?
Érico Andrei
@ericof
@clickio I have a question for you. Do you want a base image with websauna (one that you could extend adding your own application) and/or a image with a demo of websauna?
clickio
@clickio
both if possible, but if not, any of them
clickio
@clickio
anything that can help a noob pythonista like me get started with websauna
Marwan Rabbâa
@waghanza
Hi,
We want to add websauna in our benchmarking project => the-benchmarker/web-frameworks#1904
@clickio @ericof do you consent on such a thing ?
clickio
@clickio
@waghanza i am not a websauna contributor yet, I just entered this channel with a specific purpose in mind: to have a docker image of websauna I can play with, since my manual install didn't work ;)
Marwan Rabbâa
@waghanza
ok, then /cc @miohtama
/cc @blaisep
clickio
@clickio
@clickio
hello guys
any updates on that docker image?
@/all please help us make an official docker image for websauna
Marwan Rabbâa
@waghanza
@clickio it could be done in 2 lines
FROM python
RUN pip install websauna
any values for an autobuild docker for websauna ?
Marwan Rabbâa
@waghanza
sorry 3 lines
FROM python:alpine
RUN apk add build-base libffi-dev postgresql-dev libxml2-dev libxslt-dev
RUN pip install websauna
Mikko Ohtamaa
@miohtama
Guys. As you know I have no longer time to contribute Websauna. However I have been exploring the option to replace Colander + Deform with Colander + jsonschema based forms + Material UI
Mikko Ohtamaa
@miohtama
Colander schema would be transformed to jsonschema and Material UI form can be rendered from it automatically
Érico Andrei
@ericof
Interesting.
Mikko Ohtamaa
@miohtama
You can do the same for Bootstrap forms, but looks like Material has better widgets
You would only need to drop a line of JS on the front end and you get access to all these well maintained widget goodies sponsored by Google
I can drop few hundred bucks of my own money as a bounty if we find a developer
Érico Andrei
@ericof
Deadlines?
Mikko Ohtamaa
@miohtama
nah
consider this as a hobby