README.txt in Read only mode 2.0.x
Same filename and directory in other branches
This module is intended for site administrators and developers. The module provides a great way to lock down or freeze a production server so that maintenance or large deployments can occur without taking the site offline. In a typical example, Read Only Mode is activated on the production server, the database is copied to a development server where work is done, and then the database is pushed back to the production server and Read Only Mode disabled. Usage and configuration ================================================================================ The module can be configured in the Site Maintenance settings page alongside the built in maintenance mode settings. Simply choose to enable the mode and your site is now locked down to content additions. Read Only Mode and Maintenance mode are separate and you do not need to enable Maintenance Mode to enable Read Only Mode. Further configuration is possible to provide custom warnings and errors to users. The warning message is displayed only to users with the appropriate permission, while the entity validation error is visible for everyone who triggered it. Drush Support ================================================================================ The read-only mode is automatically disabled after the drush deploy command suceeded. See https://www.drush.org/latest/deploycommand/ Check the status: drush readonlamode:status Turn on Read Only Mode: drush readonlamode:set 1 Turn off Read Only Mode: drush readonlamode:set 0
File
README.txtView source
- This module is intended for site administrators and developers. The module
- provides a great way to lock down or freeze a production server so that
- maintenance or large deployments can occur without taking the site offline.
- In a typical example, Read Only Mode is activated on the production server,
- the database is copied to a development server where work is done, and then the
- database is pushed back to the production server and Read Only Mode disabled.
-
- Usage and configuration
- ================================================================================
- The module can be configured in the Site Maintenance settings page alongside
- the built in maintenance mode settings. Simply choose to enable the mode and
- your site is now locked down to content additions. Read Only Mode and
- Maintenance mode are separate and you do not need to enable Maintenance Mode to
- enable Read Only Mode.
-
- Further configuration is possible to provide custom warnings and errors to users.
- The warning message is displayed only to users with the appropriate permission,
- while the entity validation error is visible for everyone who triggered it.
-
- Drush Support
- ================================================================================
- The read-only mode is automatically disabled after the drush deploy command
- suceeded. See https://www.drush.org/latest/deploycommand/
-
- Check the status: drush readonlamode:status
- Turn on Read Only Mode: drush readonlamode:set 1
- Turn off Read Only Mode: drush readonlamode:set 0