Skip to content

Instantly share code, notes, and snippets.

@jlevon
Last active July 26, 2019 13:18
Show Gist options
  • Save jlevon/6ac41eb47f0d4060a516337dee66e34c to your computer and use it in GitHub Desktop.
Save jlevon/6ac41eb47f0d4060a516337dee66e34c to your computer and use it in GitHub Desktop.
testing joyent/documentation changes on Linux with Kirby

Installing kirby for testing changes to documentation.git On sent local Linux

Need kirby 2 (maybe?)

in ~/public_html

Get the kirby bits, but reset .htaccess etc.

git clone https://github.com/getkirby-v2/starterkit
cp -r starterkit/* /home/jlevon/public_html/documentation/
cd /home/jlevon/public_html/documentation/
git checkout .

apt-get install apache2 php php7.2-xml php-mbstring

vi /etc/apache2/sites-enabled/000-default.conf

set document root to:

DocumentRoot /home/jlevon/public_html/documentation/

in apache2.conf:

<Directory /home/jlevon/public_html/documentation/
        Options Indexes FollowSymLinks
        AllowOverride All
    DirectoryIndex index.php
        Require all granted
</Directory>

then

a2enmod rewrite
systemctl restart apache2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment