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

Remove Nginx and NPM to simplify the setup process #28

Open
1 of 3 tasks
rik opened this issue May 10, 2024 · 0 comments
Open
1 of 3 tasks

Remove Nginx and NPM to simplify the setup process #28

rik opened this issue May 10, 2024 · 0 comments

Comments

@rik
Copy link
Contributor

rik commented May 10, 2024

Discussing with @nanorepublica, here's a plan to have less moving pieces in this project.

  • Remove Nginx #29 Remove Nginx from the Docker dev setup because the original deployment will probably use Dokku.
  • Remove NPM dependencies #33 Remove npm (Prettier + Tailwind). Given the amount of CSS/JS being written, Prettier is probably overkill for now. For Tailwind, we'll use django_tailwind_cli.
  • Update README accordingly
@rik rik mentioned this issue May 15, 2024
nanorepublica pushed a commit that referenced this issue May 15, 2024
nanorepublica pushed a commit that referenced this issue May 15, 2024
We remove the extraneous `djangosocial/` folder

ref #28
rik added a commit to rik/djangosocial that referenced this issue May 17, 2024
This removes Prettier and uses Tailwind via django_tailwind_cli.

- Remove nodejs buildpack.
- In development, use django_tailwind_cli's `runserver` to re-build the CSS automatically. That command only listens to STOPINT so we change Docker's stopsignal to workaround that.
- When deploying, build the CSS before calling collectstatic via a `post_compile` script.
- To help understand the steps, the `static` folder is separated into `to_compile` and `to_collect` sub-folders.

ref djangosocialteam#28
rik added a commit to rik/djangosocial that referenced this issue May 17, 2024
This removes Prettier and uses Tailwind via django_tailwind_cli.

- Remove nodejs buildpack.
- In development, use django_tailwind_cli's `runserver` to re-build the CSS automatically. That command only listens to STOPINT so we change Docker's stopsignal to workaround that.
- When deploying, build the CSS before calling collectstatic via a `post_compile` script.
- To help understand the steps, the `static` folder is separated into `to_compile` and `to_collect` sub-folders.

ref djangosocialteam#28
rik added a commit to rik/djangosocial that referenced this issue May 17, 2024
This removes Prettier and uses Tailwind via django_tailwind_cli.

- Remove nodejs buildpack.
- In development, use django_tailwind_cli's `runserver` to re-build the CSS automatically. That command only listens to STOPINT so we change Docker's stopsignal to workaround that.
- When deploying, build the CSS before calling collectstatic via a `post_compile` script.
- To help understand the steps, the `static` folder is separated into `to_compile` and `to_collect` sub-folders.

ref djangosocialteam#28
rik added a commit to rik/djangosocial that referenced this issue May 18, 2024
This removes Prettier and uses Tailwind via django_tailwind_cli.

- Remove nodejs buildpack.
- In development, use django_tailwind_cli's `runserver` to re-build the CSS automatically. That command only listens to STOPINT so we change Docker's stopsignal to workaround that.
- When deploying, build the CSS before calling collectstatic via a `post_compile` script.
- To help understand the steps, the `static` folder is separated into `to_compile` and `to_collect` sub-folders.

ref djangosocialteam#28
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

No branches or pull requests

1 participant