Visithalland is a Wordpress theme based on Sage.
- Better folder structure
- Dependency management with Composer
- Easy WordPress configuration with environment specific files
- Environment variables with Dotenv
- Autoloader for mu-plugins (use regular plugins as mu-plugins)
- Enhanced security (separated web root and secure passwords with wp-password-bcrypt)
- Clone this project
git clone https://github.com/RegionHalland/visithalland-cms.git
- Update environment variables in
.envfile:
DB_NAME- Database nameDB_USER- Database userDB_PASSWORD- Database passwordDB_HOST- Database hostWP_ENV- Set to environment (development,staging,production)WP_HOME- Full URL to WordPress home (http://visithalland.test)WP_SITEURL- Full URL to WordPress including subdirectory (http://visithalland.test/wp)AUTH_KEY,SECURE_AUTH_KEY,LOGGED_IN_KEY,NONCE_KEY,AUTH_SALT,SECURE_AUTH_SALT,LOGGED_IN_SALT,NONCE_SALT
You can cut and paste from the Roots WordPress Salt Generator.
- Follow Wordpress installation guide at
http://visithalland.test/wp/wp-admin
All code authored by us should be according to the PSR-2 standard.
TBA
See - Bedrock documentation is available at https://roots.io/bedrock/docs/.
Contributions are welcome from everyone. File a bug! 🐞. Don't be afraid of our swedish, you can use english.
TBA