Overview
Cachet is constantly evolving, therefore we advise you to download and checkout the latest tagged release. Using a branch such asmaster could result in a broken or unstable environment.
Download with Git
Configuring a database
By default, Cachet comes with a.env.example file. You’ll need to rename this file to just .env regardless of what environment you’re working on. This is how Laravel 5 deals with configurations.
It’s now just a case of editing this new .env file and setting the values of your setup.
Here is an example Windows file with a MySQL database:
.env
APP_DEBUG to false to avoid other people to see your application info!
Now, in your Command Prompt, navigate to your Cachet install and run:
Security Key
Before going any further, we need to set theAPP_KEY config. This is used for all encryption used in Cachet.
Installing Cachet
Cachet comes with an installation command that will:- Run migrations
- Run seeders (of which there are none)
php.ini Config
Some extensions need to be uncommented in your php.ini file.
Apache vHosts
Apache is one of the easier installations. We simply need to create a new Virtual Host and add it to ourHOSTS file.
To do this, we simply add the following Virtual Host to our httpd-vhosts.conf file. Do change this to suit your setup:
httpd-vhosts.conf
❗️ You Need to EnableThe rest of the contents of mymod_rewritefor Apache. You can do this by finding yourhttpd.conffile and uncommenting the following line:#LoadModule rewrite_module modules/mod_rewrite.so
httpd.conf file are as follows: