Kamieljv / watkanikdoen-app

Watkanikdoen is a website that promotes activism by making all kinds of progressive initiatives accessible to a wide audience.
https://watkanikdoen.nl
European Union Public License 1.2
1 stars 0 forks source link
activism civilsociety demonstration

Wat Kan Ik Doen webapp

Deployment Instructions

1. Set up the database

2. Run the server

3. Log in using the admin account

Modifying BREAD

Configuration of the Voyager admin panel are saved in database tables. The defaults are seeded by files in database/seeders. Any changes need to be kept up to date in these seeders, to ensure easy deployment.

Reference for which seeder file (all in database/seeders) contains what:

For new tables:

Modifying settings

This can be done at /admin/settings. It reads and writes to the settings table in the database. So, in order to preserve the settings for future deployments, make sure to update its seed with php artisan iseed settings.

Generate migrations and seeders

php artisan migrate:generate

php artisan migrate:generate --tables="my_table"

php artisan iseed my_table

Web Traffic Analytics

For traffic analytics, we use Umami, which is an open-source and self-hosted framework that enables simple analytics (pageviews, devices used and referrers). The analytics server is hosted on http://analytics.watkanikdoen.nl/.

See also

Search Engine Optimization (SEO)

SEO tags are generated by artesoas/seotools. Config can be found in config/seotools.php. It is good practice to keep the sitemap.xml up to date. Update it with:

\Spatie\Sitemap\SitemapGenerator::create('<domain>')->writeToFile('public/sitemap.xml');

Cookie notice

Cookie notice is created with this package and only enables the umami site analytics once accepted.

Useful links

Package notes

Embedding

You can embed a part of the Watkanikdoen.nl website into your own webpage, using our 'widget'. The following exaxmple shows an example of an embedding.

<html>
    <iframe width="100%" height="500" src="https://watkanikdoen.nl/widget?limit=100&show_past=false" style="border: none" sandbox="allow-scripts allow-same-origin allow-popups" allowfullscreen >
    </iframe>
</html>

You can use the following parameters (all optional) to filter the results of the acties api: