Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tools used for PoWA-Web development #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pirlgon
Copy link

@pirlgon pirlgon commented Jul 10, 2024

No description provided.

@rjuju
Copy link
Member

rjuju commented Jul 10, 2024

this looks sensible, although we can't merge it until the v5 branches are merged too.

should this page also document how to work with the dev containers? I'm assuming that most people who want to contribute to powa-web don't want to deal with postgres and setup a local environment manually.

@pirlgon
Copy link
Author

pirlgon commented Jul 16, 2024

Thanks, we wondered about that too. I'll look into adding the process we use with podman.

@rjuju
Copy link
Member

rjuju commented Jul 16, 2024

thanks! I used those images and compose files only once, which is when I wrote them, so I don't remember much about them. I'm usually working on the extensions part so I prefer to have everything setup locally.

@pirlgon
Copy link
Author

pirlgon commented Jul 17, 2024

@rjuju we could add a link to this file https://github.com/powa-team/powa-podman/tree/master/dev or do you prefer to add the information in the doc?

@rjuju
Copy link
Member

rjuju commented Jul 17, 2024

you mean the readme? that's a better idea. I will take care of changing it to markdown format while at it

@pirlgon
Copy link
Author

pirlgon commented Jul 17, 2024

yes the readme :)

@rjuju
Copy link
Member

rjuju commented Jul 17, 2024

ok, I renamed the readme and improved the markdown format so it's ready to be linked

This command launches a local server at http://localhost:5173 with hot module replacement,
enabling real-time updates as you modify the project files.

To run the application, use ``run_powa.py``, which will run powa in debug mode.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe specify where the file is located, or show the actual command run, same as for all the other steps, and mention that the output will display the UI Web url?


To run the application, use ``run_powa.py``, which will run powa in debug mode.

This version uses `ViteJS` and `Vue 3` for a more integrated and performant
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it specific to run-powa.py?


Then, you can run ``grunt`` to update only the css files, or regenerate optimized
javascript builds with ``grunt dist``.
To easily deploy an environment for PoWa web development, take a look at `powa-podman <https://github.com/powa-team/powa-podman/tree/master/dev>`_.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be worth being a bit more specific. like "take a look at the development specific container images and compose files in the dev directory of the powa-podman repository" or something like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants