Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

Litarvan/slark-server

Repository files navigation

Slark logo

Slark server

Server for the Slark update framework. See the client here

Requirements

  • PHP 5.6.4 or greater
  • Ext: php_crypt
  • (OPTIONAL) Apache mod_rewrite

Setting up

Download the latest release here. Unzip it in any folder of your webroot.

Go on it using your browser, and follow the instruction

Apache

You need to enable AllowOverride, for that, in your apache config (/etc/apache2/apache2.conf or /etc/httpd/conf/httpd.conf), between <Directory /var/www/> (/var/www is your document root, it can be /var/www/html, or /srv/http, etc...) and </Directory>, change AllowOverride None to AllowOverride All in /etc/apache2/apache2.conf Otherwise the config (includes your password) could be read by everyone !

Mod rewrite is optional

Nginx

Use the following config

server {
    index index.php;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    include /etc/nginx/conf.d/phpVERSION-fpm.conf;
}

(Don't forget to replace VERSION by your PHP version)

Testing

php -S localhost:8000

About

Server for the Slark update framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published