ActiveWAFL applications can be setup differently for each environment you have it running in.
We'll focus on the development environment.
You must set an environment variable named
WAFL_ENVIRONMENT to the value "dev".
There are many different ways to do this.
If you're using apache then you probably don't need to change anything, as the default application has an
.htaccess file in the web's document root directory that already sets WAFL_ENVIRONMENT to "dev" using Apache's
Other web servers have similar mechanisms for setting environment variables for it's run-time environment.
You can set also set the environment variable using commands within your operating system.
This can usually be done per user or per machine.
There is a settings file for each environment.
Edit the file
Config/Settings.dev.syrp to look like the following, replacing the values with something that makes sense for your environment.
You may need to change the
You can probably leave the other settings at their defaults.
Next, we'll set up the application's Site Structure.