chatwoot/deployment
Vishnu Narayanan 8c54d7f794
feat: support vite build for linux installations(cwctl) (#10231)
- Switch to `pnpm` from `yarn`

Changelog
----
- add support for `pnpm` `vite` build for chatwoot 4.0
- for new installations, install pnpm and vite
- for existing installations, remove `node_modules` and install `pnpm`

Note: `yarn` is not removed when upgrading existing installations. If
you want to rollback to an older version of Chatwoot(pre 4.0),

```
sudo -i -u chatwoot
cd chatwoot
git checkout <tag> # tag is the version of chatwoot you want to rollback to
rm -rf node_modules # remove deps installed via pnpm

# Update dependencies
bundle
yarn

# Recompile the assets
rake assets:precompile RAILS_ENV=production

# Migrate the database schema
RAILS_ENV=production bundle exec rake db:migrate
exit
```
2024-10-04 16:50:44 +05:30
..
chatwoot feat: add chatwoot ctl(cwctl) cli tool (#4836) 2022-06-22 23:39:01 +05:30
chatwoot-web.1.service chore: Upgrade ruby to 3.3.3 (#9664) 2024-07-05 12:20:07 +05:30
chatwoot-worker.1.service chore: Upgrade ruby to 3.3.3 (#9664) 2024-07-05 12:20:07 +05:30
chatwoot.target Feature: Add installation script (#776) 2020-05-05 01:59:38 +05:30
nginx_chatwoot.conf chore: Improve Nginx settings for speed and security (#5144) 2022-10-03 17:43:50 +05:30
setup_18.04.sh chore: Update ruby and docker base image to 3.0.4 (#4693) 2022-05-27 17:33:24 +05:30
setup_20.04.sh feat: support vite build for linux installations(cwctl) (#10231) 2024-10-04 16:50:44 +05:30