Copy the Chatwoot (v4.14.0) frontend runnable subset into frontend/ for customization: - app/javascript/ (Vue SPA: dashboard, widget, sdk, portal, superadmin) - app/views/ (ERB templates for vite-plugin-ruby entrypoint resolution) - app/helpers/, app/assets/ (Rails view helpers, static assets) - enterprise/ (Enterprise edition frontend overlay) - config/vite.json, vite.config.ts, bin/vite (Vite-Rails toolchain) - package.json, pnpm-lock.yaml, tailwind/postcss/eslint configs - Gemfile, Gemfile.lock (vite_rails gem for bin/vite binstub) Excluded Rails backend: controllers, models, services, jobs, mailers, policies, db, lib, spec, public, node_modules. Update references to the new frontend location: - .gitignore: exclude frontend build artifacts (node_modules, tmp, packs), keep frontend/bin/ and frontend/vendor/ via negation - backend/scripts/parity_frontend_smoke.sh: CHATWOOT_DIR default reference/chatwoot -> ../frontend - backend/scripts/parity_frontend_browser_smoke.mjs: same default update - AGENTS.md: add frontend section with Rails/Vite coupling notes - README: architecture tree includes frontend/
26 lines
1.0 KiB
YAML
26 lines
1.0 KiB
YAML
# Be sure to restart your server when you modify this file.
|
|
|
|
# Your secret key is used for verifying the integrity of signed cookies.
|
|
# If you change this key, all old signed cookies will become invalid!
|
|
|
|
# Make sure the secret is at least 30 characters and all random,
|
|
# no regular words or you'll be exposed to dictionary attacks.
|
|
# You can use `rails secret` to generate a secure secret key.
|
|
|
|
# Make sure the secrets in this file are kept private
|
|
# if you're sharing your code publicly.
|
|
|
|
development:
|
|
secret_key_base: b89787dc4f8930ff36715598bddc8d28946c29c7d9d3c1f8272fc8eb307c4b1de6e9a20a824ac06b4a53efeaf99be20469da5355d7218851c8e87520db26a819
|
|
|
|
test:
|
|
secret_key_base: 3beeee45bc938475ecba45075c53aae0f94299a83f824b25bbaf7965b4b0c60ff2b0c66c9047a026578deb5ecadabaa602891be2be66ed123a7b26876d4daddf
|
|
|
|
# Do not keep production secrets in the repository,
|
|
# instead read values from the environment.
|
|
production:
|
|
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
|
|
|
staging:
|
|
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|