dev-master
9999999-devA sample project based on Ark
MIT
The Requires
0.2
0.2.0.0A sample project based on Ark
MIT
The Requires
0.1
0.1.0.0A sample project based on Ark
MIT
The Requires
Wallogit.com
2017 © Pedro Peláez
A sample project based on Ark
A sample project based on Ark., (*1)
PHP 7 is required. Licensed with MIT., (*2)
Yes, you just need to use the Dry Dock of Ark., (*3)
First, you need to get the complete code of DryDockOfArk, use, (*4)
composer create-project sinri/dry-dock-of-ark YourProjectName
and do not forget to run composer install inside., (*5)
Then create the config.php in the directory of config, a sample given there named config.sample.php., (*6)
Configure your own config file, check your requirements on Database, Cache and Log, and make modification., (*7)
It is recommended to load all those components when project is loading, so you can do this job in loadComponent.php., (*8)
If you use Apache to load the project, you need to add the .htaccess file and open the allow override option., (*9)
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
For Nginx, you should use try_files., (*10)
server {
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
}
Those command would let all requests be led to the target file first, and if not exists let index.php handle them., (*11)
If you need to embed frontend inside, though not a good choice for huge site, directory frontend is provided there by default,
and index.html is there as sample., (*12)
A sample project based on Ark
MIT
A sample project based on Ark
MIT
A sample project based on Ark
MIT