Learn how to install Cachet on your Windows server.
master
could result in a broken or unstable environment.
.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
file should not contain a DB_HOST
key. You’ll also need to touch ./database/database.sqlite
and give it the required permissions.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:
APP_KEY
config. This is used for all encryption used in Cachet.
APP_KEY
after installation on production environment. This will result in all encrypted/hashed data being lost.php.ini
Configphp.ini
file.
HOSTS
file.
To do this, we simply add the following Virtual Host to our httpd-vhosts.conf
file. Do change this to suit your setup:
❗️ You Need to EnableThe rest of the contents of mymod_rewrite
for Apache. You can do this by finding yourhttpd.conf
file and uncommenting the following line:#LoadModule rewrite_module modules/mod_rewrite.so
httpd.conf
file are as follows: