Run Typemill on Localhost
If you are a developer and if you want to run Typemill locally, then simply download Typemill (zip or git) and visit your local folder like localhost/typemill
. If your server is configured correctly, then no additional work is required.
Move to Production
If you want to move your website to production (or to any other domain), then the cached navigation will contain the old base-url, so all links will contain something like "localhost/mysite". There are three ways to refresh the cache and to solve this issue:
- Unpublish and publish one (any) page again. This way the cache will recreate with the next page load.
- Use kixote and type "clear cache" (starting with Typemill Version 2.2.0).
- Use ftp and delete the files in the folder
/data/navigation
.
Run on Linux/Ubuntu
Some users reported errors with Linux/Ubuntu. If you run Typemill locally on Linux, then you have to double check if mod-rewrite is configured correctly. If you face any problems, please follow the steps described in this article: https://hostadvice.com/how-to/how-to-enable-apache-mod_rewrite-on-an-ubuntu-18-04-vps-or-dedicated-server/
Enable the mod-rewrite modules:
$ sudo a2enmod rewrite
$ sudo a2enmod actions
Then open your virtual host file:
$ sudo xed /etc/apache2/sites-available/000-default.conf
And add this configuration inside your virtual-host-tag:
<directory var="" www="" html="">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</directory>
Finally, restart your server:
$ sudo systemctl restart apache2