This is a free and online tool to check the health of your Flarum install. Visit https://lab.migratetoflarum.com/ to get started.
For screenshots, Spatie Browsershot is used. Follow the requirements to install Puppeteer and Chrome Headless.
Additionally on Ubuntu server install the package fonts-noto-cjk
so Chrome can render websites in almost any language.
If you run the lab locally, the showcase will be available at /showcase
.
To use a secondary domain locally or on production, set the env variable SHOWCASE_DOMAIN
to the absolute url of the showcase homepage without trailing slash.
Then setup the webserver to redirect requests from that domain to the same app as the lab.
(The lab uses nginx in production)
proxy_set_header Host lab.migratetoflarum.com;
location ~ ^/(api|css|fonts|images|js|storage) {
proxy_pass https://127.0.0.1;
}
location / {
proxy_pass https://127.0.0.1/showcase/;
}
(I used this locally for tests)
<LocationMatch "^/(api|css|fonts|images|js|storage)">
ProxyPassMatch http://127.0.0.1:8000
</LocationMatch>
ProxyPass / http://127.0.0.1:8000/showcase/
The lab does not call any external API, but it uses some external services through offline databases.
The list is automatically synced from https://github.com/publicsuffix/list using the update-public-suffix-list
scheduled command.
IP geolocation uses DB-IP Free dataset.
To use, download the latest file, extract and place at the following locations:
- https://db-ip.com/db/download/ip-to-asn-lite to
storage/app/dbip-asn-lite.mmdb
- https://db-ip.com/db/download/ip-to-country-lite to
storage/app/dbip-country-lite.mmdb
This is a free service by MigrateToFlarum, an online forum migration tool (launching soon). Follow us on Twitter for updates https://twitter.com/MigrateToFlarum
Need a custom Flarum extension ? Contact Clark Winkelmann !