Installation of Appskull is pretty easy. It can be done within few minutes.
Install Appskull in few steps:
Create a new MySQL/MariaDB database. Let's call it appskull. (The database name can be anything you like.)
You can create a database very easily by using a database management application. For example, phpMyAdmin, Adminer, Sequel Pro. In this case we are using phpMyAdmin.
You don't have to worry about the database collation option. You can simply leave it alone to whatever it already set to. If you can set this option, then set it to utf8mb4_unicode_520_ci
.
Select created database. for example, appskull.
Find, select and import database sql file.
Upload the Appskull folders and files to your server. Normally the index.php file will be at your root.
Base URL configuration.
The base URL of the Appskull can be configured in [app_root]/app/config/config.php
file. It is URL to Appskull root with a trailing slash. For example, http://example.com/
Localhost examples:
$config['base_url'] = 'http://localhost/appskull/';
$config['base_url'] = 'http://localhost/app/';
Remote host examples:
$config['base_url'] = 'http://example.com/';
$config['base_url'] = 'http://www.example.com/';
$config['base_url'] = 'http://example.com/appskull/';
Remote host examples with HTTPS:
$config['base_url'] = 'https://example.com/';
Database configurations.
The database configurations can be configured in [app_root]/app/config/database.php
file. There are many configuration options available. But you don't have to set all those options. You only have to set few of them.
Appskull is fully supports for Nginx web server. However in order to work, it needs small configuration in the Nginx's nginx.conf
file.
If Appskull hosted in a root of the host. For example, http://example.com
, http://www.example.com
, http://localhost
. Then use bellow Nginx "location" context directive in your nginx.conf
file.
location / {
try_files $uri $uri/ /index.php?$query_string;
}
If Appskull hosted in a sub directory of the host. For example, http://example.com/appskull
, http://localhost/appskull
. Then you have to use base URL without the host
part in the nginx location context directive.
Examples:
If base URL http://localhost/appskull/
, http://example.com/appskull/
. Nginx "location" context directive should be:
location /appskull {
try_files $uri $uri/ /appskull/index.php?$query_string;
}
If base URL http://localhost/apps/appskull/
, http://example.com/apps/appskull/
. Nginx "location" context directive should be:
location /apps/appskull {
try_files $uri $uri/ /apps/appskull/index.php?$query_string;
}
Example usage of the Nginx "location" context directive in the nginx.conf
file.
http {
server {
location / {
try_files $uri $uri/ /index.php?$query_string;
}
}
}
You can get more information on Nginx configuration file (nginx.conf) by visiting this link.
Appskull installation is now complete. You can test the installation by simply accessing Appskull base URL on a web browser. For example, http://localhost/appskull/
, http://example.com/
If you have followed all the above installation and configuration steps correctly, then Appskull must load it's user signin/login form like in the bellow image.
Now you can signin/login into Appskull as an administrator by using elonmusk
as both username and password and do pretty much anything you want.