|
|
(28 versions intermédiaires par 3 utilisateurs non affichées) |
Ligne 1 : |
Ligne 1 : |
| rake action_mailbox:ingress:exim # Relay an inbound email from Exim to Action Mailbox (URL and INGRESS_PASSWORD required)
| | <syntaxhighlight lang="bash"> |
| rake action_mailbox:ingress:postfix # Relay an inbound email from Postfix to Action Mailbox (URL and INGRESS_PASSWORD required)
| | #!/bin/bash |
| rake action_mailbox:ingress:qmail # Relay an inbound email from Qmail to Action Mailbox (URL and INGRESS_PASSWORD required)
| | |
| rake action_mailbox:install # Install Action Mailbox and its dependencies
| | # Vérification des privilèges root |
| rake action_mailbox:install:migrations # Copy migrations from action_mailbox to application
| | if [ "$EUID" -ne 0 ]; then |
| rake action_text:install # Copy over the migration, stylesheet, and JavaScript files
| | echo "Ce script doit être exécuté en tant que root" |
| rake action_text:install:migrations # Copy migrations from action_text to application
| | exit 1 |
| rake active_storage:install # Copy over the migration needed to the application
| | fi |
| rake add_tenant[provider,secret] # Add tenant
| | |
| rake admin:create[name,email,password] # Create an administrator account
| | # Installation des outils nécessaires |
| rake admin:super_admin[name,email,password] # Create an super admin account
| | apt-get update |
| rake app:template # Apply the template supplied by LOCATION=(/path/to/template) or URL
| | apt-get install -y parted fdisk |
| rake app:update # Update configs and some other initially generated files (or use just update:configs or update:bin)
| | |
| rake assets:clean[keep] # Remove old compiled assets
| | # Afficher l'état actuel |
| rake assets:clobber # Remove compiled assets
| | echo "État actuel du disque :" |
| rake assets:environment # Load asset compile environment
| | fdisk -l /dev/sda |
| rake assets:precompile # Compile all the assets named in config.assets.precompile
| | echo "-------------------" |
| rake cache_digests:dependencies # Lookup first-level dependencies for TEMPLATE (like messages/show or comments/_comment.html)
| | df -h /dev/sda2 |
| rake cache_digests:nested_dependencies # Lookup nested dependencies for TEMPLATE (like messages/show or comments/_comment.html)
| | echo "-------------------" |
| rake configuration:check # Checks that the application was configured correctly
| | |
| rake css:build # Build your CSS bundle
| | # Calculer la taille maximale disponible (juste avant la partition swap) |
| rake css:clobber # Remove CSS builds
| | SWAP_START=$(fdisk -l /dev/sda | grep "sda3" | awk '{print $2}') |
| rake css:install # Install JavaScript dependencies
| | echo "Début de la partition SWAP : $SWAP_START" |
| rake css:install:bootstrap # Install Bootstrap
| | |
| rake css:install:bulma # Install Bulma
| | # Redimensionner avec fdisk |
| rake css:install:postcss # Install PostCSS
| | ( |
| rake css:install:sass # Install Sass
| | echo "d" # Supprimer partition |
| rake css:install:shared # Install shared elements for all bundlers
| | echo "2" # Partition numéro 2 |
| rake css:install:tailwind # Install Tailwind
| | echo "n" # Nouvelle partition |
| rake data:abort_if_pending_migrations # Raises an error if there are pending data migrations
| | echo "p" # Type primaire |
| rake data:dump # Create a db/data_schema.rb file that stores the current data version
| | echo "2" # Partition numéro 2 |
| rake data:forward # Pushes the schema to the next version (specify steps w/ STEP=n)
| | echo # Premier secteur (par défaut) |
| rake data:migrate # Migrate data migrations (options: VERSION=x, VERBOSE=false)
| | echo "$((SWAP_START - 1))" # Dernier secteur (juste avant le swap) |
| rake data:migrate:down # Runs the "down" for a given migration VERSION
| | echo "N" # Ne pas supprimer la signature |
| rake data:migrate:redo # Rollbacks the database one migration and re migrate up (options: STEP=x, VERSION=x)
| | echo "w" # Écrire les changements |
| rake data:migrate:status # Display status of data migrations
| | ) | fdisk /dev/sda |
| rake data:migrate:up # Runs the "up" for a given migration VERSION
| | |
| rake data:rollback # Rolls the schema back to the previous version (specify steps w/ STEP=n)
| | # Recharger la table des partitions |
| rake data:schema:load # Load data_schema.rb file into the database
| | partprobe /dev/sda |
| rake data:version # Retrieves the current schema version number for data migrations
| | |
| rake db:abort_if_pending_migrations:with_data # Raises an error if there are pending migrations or data migrations
| | # Redimensionner le système de fichiers |
| rake db:create # Create the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:create:all to create all databases in the config). ...
| | resize2fs /dev/sda2 |
| rake db:drop # Drop the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:drop:all to drop all databases in the config). Withou...
| | |
| rake db:encryption:init # Generate a set of keys for configuring Active Record encryption in a given environment
| | # Afficher le résultat |
| rake db:environment:set # Set the environment value for the database
| | echo "Nouvel état du disque :" |
| rake db:fixtures:load # Load fixtures into the current environment's database
| | df -h /dev/sda2 |
| rake db:forward:with_data # Pushes the schema to the next version (specify steps w/ STEP=n)
| | </syntaxhighlight> |
| rake db:migrate # Migrate the database (options: VERSION=x, VERBOSE=false, SCOPE=blog)
| |
| rake db:migrate:down # Run the "down" for a given migration VERSION
| |
| rake db:migrate:down:with_data # Runs the "down" for a given migration VERSION
| |
| rake db:migrate:redo # Roll back the database one migration and re-migrate up (options: STEP=x, VERSION=x)
| |
| rake db:migrate:redo:with_data # Rollbacks the database one migration and re migrate up (options: STEP=x, VERSION=x)
| |
| rake db:migrate:status # Display status of migrations
| |
| rake db:migrate:status:with_data # Display status of data and schema migrations
| |
| rake db:migrate:up # Run the "up" for a given migration VERSION
| |
| rake db:migrate:up:with_data # Runs the "up" for a given migration VERSION
| |
| rake db:migrate:with_data # Migrate the database data and schema (options: VERSION=x, VERBOSE=false)
| |
| rake db:prepare # Run setup if database does not exist, or run migrations if it does
| |
| rake db:reset # Drop and recreate all databases from their schema for the current environment and load the seeds
| |
| rake db:rollback # Roll the schema back to the previous version (specify steps w/ STEP=n)
| |
| rake db:rollback:with_data # Rolls the schema back to the previous version (specify steps w/ STEP=n)
| |
| rake db:schema:cache:clear # Clear a db/schema_cache.yml file
| |
| rake db:schema:cache:dump # Create a db/schema_cache.yml file
| |
| rake db:schema:dump # Create a database schema file (either db/schema.rb or db/structure.sql, depending on `ENV['SCHEMA_FORMAT']` or `config.active_record.schema_format`)
| |
| rake db:schema:load # Load a database schema file (either db/schema.rb or db/structure.sql, depending on `ENV['SCHEMA_FORMAT']` or `config.active_record.schema_format`)...
| |
| rake db:schema:load:with_data # Load both schema.rb and data_schema.rb file into the database
| |
| rake db:seed # Load the seed data from db/seeds.rb
| |
| rake db:seed:replant # Truncate tables of each database for current environment and load the seeds
| |
| rake db:setup # Create all databases, load all schemas, and initialize with the seed data (use db:reset to also drop all databases first)
| |
| rake db:structure:load:with_data # Load both structure.sql and data_schema.rb file into the database
| |
| rake db:version # Retrieve the current schema version number
| |
| rake db:version:with_data # Retrieves the current schema version numbers for data and schema migrations
| |
| rake javascript:build # Build your JavaScript bundle
| |
| rake javascript:clobber # Remove JavaScript builds
| |
| rake javascript:install # Install JavaScript dependencies
| |
| rake javascript:install:bun # Install Bun
| |
| rake javascript:install:esbuild # Install esbuild
| |
| rake javascript:install:node_shared # Install node-specific elements for bundlers that use node/yarn
| |
| rake javascript:install:rollup # Install rollup.js
| |
| rake javascript:install:shared # Install shared elements for all bundlers
| |
| rake javascript:install:webpack # Install Webpack
| |
| rake log:clear # Truncate all/specified *.log files in log/ to zero bytes (specify which logs with LOGS=test,development)
| |
| rake poller:meetings_poller # Polls meetings to check if they are still online
| |
| rake poller:recordings_poller[interval] # Polls recordings to check if they have been created in GL
| |
| rake poller:run_all[interval] # Runs all pollers
| |
| rake server_recordings_sync[provider] # Server Recordings sync with BBB server
| |
| rake stats # Report code statistics (KLOCs, etc) from the application or engine
| |
| rake test # Run all tests in test folder except system ones
| |
| rake test:db # Reset the database and run `bin/rails test`
| |
| rake time:zones[country_or_offset] # List all time zones, list by two-letter country code (`bin/rails time:zones[US]`), or list by UTC offset (`bin/rails time:zones[-8]`)
| |
| rake tmp:clear # Clear cache, socket and screenshot files from tmp/ (narrow w/ tmp:cache:clear, tmp:sockets:clear, tmp:screenshots:clear)
| |
| rake tmp:create # Create tmp directories for cache, sockets, and pids
| |
| rake user:create[name,email,password,role] # Create a user
| |
| rake user:set_admin_role[email] # Set user role to Administrator
| |
| rake yarn:install # Install all JavaScript dependencies as specified via Yarn
| |
| rake zeitwerk:check # Check project structure for Zeitwerk compatibility
| |