CommanderStorm created an issue (openstreetmap/openstreetmap-website#6677)

### 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 

```bash
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_

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6677
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to