Instalation - PSF1/pharinix GitHub Wiki
Last note: See /files folder for Vagrant instructions.
To install you have two options, upload files by FTP/sFTP or by using Git.
Direct upload (FTP/sFTP):
- Download the last version from Github: https://github.com/PSF1/pharinix
- Upload downloaded files to your host server.
Using Git:
- Get the repository URL: https://github.com/PSF1/pharinix.git
- In your server prompt execute a clone command: $ git clone https://github.com/PSF1/pharinix.git
If you don't change any core file you can update Pharinix executing the next in the instalation folder:
- $ git pull
Configuring
The first time that you execute Pharinix it will use the safe mode to get the response. That mode run when Pharinix don't have data base connection.
To start, login using the default root user, you can see it in /etc/pharinix.config.DEFAULT.php: user = root@pharinix pass = '1234'
Then for get superuser by click the about bottom.
By default, this mode show to you the console to allow call remote commands. To start the installation you only need call the command "install" without parameters. This show you a form with basic requirements. Click the install bottom and it's all, the database will be make, root user will be created too for normal and safe mode context. (IMPORTANT: The password will be raw in the configuration file to safe mode, please change it)
Then you can view the CMS running. In the Direct command box, at home, try to put: rewriteBasicList
Troubleshooting
If you like install Pharinix in the root folder you need edit the configuration file, or use the remote commands.
If edit it you must change:
CMS_DEFAULT_URL_BASE = "auto"
to
CMS_DEFAULT_URL_BASE = "root"
With commands you must execute:
Command 'cfgSetValue' Parameters:
- section = [core]
- key = CMS_DEFAULT_URL_BASE
- value = "root"