Objective
Describe how to install Apprain
Apprain Installation Process
The installation of Apprain is pretty simple. To begin it, use one of the two options listed below. The most recent version must be obtained from the link below in order to use any of the techniques.
Pre-Requisite
To install Apprain, the below arrangement is required.
- A web server, preferably Apache
- PHP latest version
-
A database, preferably MySQL, with the below information
- Host Name
- Database name
- Database user name
- Data User Password
- Database port
Wizard installation
A wizard is included with Apprain to install it through a guided process. Extract the zip file after downloading it, then upload it to a web server.
- Upload source code by FTP if it is a remote host, or copy the extracted source to a local server like XAMPP or WAMP. The folder names are typically "www" ,"htdocs", "public_html” etc.
- After uploading, browse the directory through a web browser, and the wizard will start automatically.
- The wizard guides the user to complete the installation and create login access.
Click here to see the detailed step-by-step process.
Configure Manually
Database configuration is one of the first things the system searches for when it boots up. If more than one domain is linked to a single installation, the boot request may be domain-specific or it may be a generic request for a single system. The database is the main component of the setup that needs to be addressed first.
Apprain keeps most of its configuration in the below location.
development/definition
The database.xml file is always present in installations that already exist; if not, make a new file with the same name and open it in a text editor. Although this file may have more than one connection, we will now only be concentrating on the primary connection.
See the XML file below, which has the default database "primary" inside the
For a standard installation change below information
Tag | Description |
---|---|
port | Enter the database port. |
type | Enter database type. |
prefix | Database table prefix. |
host | Database host name or IP address. |
dbname | Database name. |
username | Database user name. |
password | Database user password. |
active | Set 1 to activate the connection and 0 to disable it. |
Once the modification is made, the system will be accessible by browsing the specified location within the web server directory.
Note: There are significant customizations available in databases connection creation and developing drivers to support any type of database which will be discussed in later sections.