zammad/Procfile.dev

6 lines
349 B
Text
Raw Permalink Normal View History

vite: bundle exec script/vite-server.rb dev
Feature: Mobile - Added main tool chain for the new tech stack (with vite as the build tool). Added Vite with the `vite_rails` ruby gem: `bundle install`, `bundle exec vite install` and vite.config.ts Added Vue.js: `yarn add vue@next vue-router@next` and `yarn add -D @vitejs/plugin-vue`. Added Typescript: `yarn add -D typescript vue-tsc` and `tsconfig.json`. Added Prettier: `yarn add -D prettier --exact` and `.prettierrc.json`. Added ESLint and ESLint-Plugins: `yarn add -D eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser @vue/eslint-config-prettier @vue/eslint-config-typescript eslint-config-airbnb-base eslint-config-prettier eslint-import-resolver-alias eslint-plugin-import eslint-plugin-prettier eslint-plugin-vue eslint-plugin-prettier-vue` and `.eslintrc.js`. Added Jest: `yarn add -D jest @types/jest @vue/test-utils eslint-plugin-jest jest-serializer-vue jest-transform-stub ts-jest @vue/vue3-jest` and `jest.config.js`. Added TailwindCSS: `yarn add -D tailwindcss@next @tailwindcss/forms@next postcss autoprefixer` and `npx tailwindcss init -p` Added GraphQL for the frontend: `yarn add @vue/apollo-option @apollo/client @vue/apollo-composable graphql-ruby-client` Added GraphQL for the backend: `gem 'graphql'` and `gem 'graphql-batch', require: 'graphql/batch'` Added Actioncable: `yarn add actioncable` Adding GraphQL Code-Generator: `yarn add -D @graphql-codegen/cli @graphql-codegen/introspection @graphql-codegen/typescript @graphql-codegen/typescript-operations @graphql-codegen/typescript-vue-apollo`
2021-10-21 05:21:51 +00:00
web: bundle exec script/rails server -b ${ZAMMAD_BIND_IP:=127.0.0.1} -p ${ZAMMAD_RAILS_PORT:=3000}
websocket: bundle exec script/websocket-server.rb -b ${ZAMMAD_BIND_IP:=127.0.0.1} -p ${ZAMMAD_WEBSOCKET_PORT:=6042} start
worker: bundle exec script/background-worker.rb start
css: bin/rails dartsass:watch