This project is the foundation of the website to present the Realtoken DAO.
A technology like WordPress was complicated to maintain on the community server, so a static technology like VueJS is perfect for creating a reliable, consistent, and scalable website foundation.
- VueJS 3 (https://vuejs.org/)
- Vite (https://vite.dev/)
make dev-build # Build
make dev-run # Run on port 5173
make dev-kill # Stop container
make dev-logs # Show container logsThe sitemap is generated automatically:
- On each build :
npm run buildrunsscripts/generate-sitemap.jsthenscripts/check-app-links.js, then Vite.public/sitemap.xmlandpublic/app-links-status.jsonmatch the last build/deploy (Application Hub status page uses this file). - On demand :
npm run sitemapregenerates only the sitemap;npm run check:app-linksregenerates only the link status JSON.
To set the site base URL for production (e.g. https://realtoken.community), use either SITEMAP_BASE_URL or VITE_SITE_URL when building:
SITEMAP_BASE_URL=https://realtoken.community npm run buildEach url is check on build