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.jsthen Vite, sopublic/sitemap.xmlis up to date with all static routes and blog posts (fromsrc/utils/blog.js). - On demand :
npm run sitemapregenerates only the sitemap.
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 build