Skip to content

How to develop with decent velocity #6677

@CommanderStorm

Description

@CommanderStorm

Problem

what is the recomended developement cycle for editing the JS parts of the project?

Description

I tried to use the ruby things that are in the guide, but this does not seem to work well on my system (archlinux).

So the magic incarnation to get any changes to the JS to show up seem to be

docker compose stop web
docker compose rm web
docker volume ls # to list the unnamed volume
docker volume rm ohm-website_web-storage ohm-website_web-tmp  0b494c14f2ce7d8b61bdcc02ce3de0b0840b9f311929f3f0a8d1da8b91d38142
docker compose up web --build

@1ec5 told me that he uses docker-compose run --rm web bundle exec rake assets:precompile, but this does not seem to work for me reliably.

The problem with this takes a bunch of time (~5 minutes) and is also not super intuitive to do.
How are others actually developing changes?
This seems like a pretty non-intitive workflow coming from the web world.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportA user needs help setting up their development environment

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions