This tutorial should demonstrate how to setup Codiad on a Nginx based system. Depending on your installation, some steps might not be required anymore.
Install Codiad
- Simply place the contents of the system in a web accessible folder
- Ensure that the system has write capabilities according to mentioned files and folders
- Ensure that php is setup correctly
Nginx
The following nginx configuration file might not follow all the nginx best practices, but can be a good starting point to set up a Codiad instance. Copy it in /etc/nginx/sites-available and symlink it from /etc/nginx/sites-enabled to enable it:
Finally restart your nginx server, usually with sudo service nginx restart.
Troubleshooting
- 502 error likely means php is not setup correctly
Open your installation with http://your-ip-adress/ and finish the installation.