Official website for the DeFiTrace project - a research initiative led by Complexity Science Hub Vienna.
Before you begin, ensure you have the following installed on your system:
Install Node.js 20.x (LTS) using NodeSource repository:
# For Node.js 20.x (LTS)
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejsVerify installation:
node --version # Should show v20.x.x
npm --version # Should show 10.x.xInstall pnpm package manager:
curl -fsSL https://get.pnpm.io/install.sh | sh -After installation, you may need to restart your terminal or run:
source ~/.bashrcVerify installation:
pnpm --versiongit clone <repository-url>
cd defitrace-websitepnpm installThis will install all required dependencies including:
- Astro
- TailwindCSS
- MDX support
- Sharp (for image optimization)
- And other necessary packages
pnpm run devThe site will be available at http://localhost:4321
pnpm run buildThe built files will be in the dist/ directory.
pnpm run previewTo remove build artifacts and start fresh:
rm -rf .astro dist node_modules
pnpm install
pnpm run build/
├── public/ # Static assets (images, fonts, etc.)
├── src/
│ ├── components/ # Reusable Astro components
│ ├── layouts/ # Page layouts
│ └── pages/ # Page routes
│ ├── index.astro # Homepage
│ ├── contact.astro # Contact page
│ ├── consortium.astro # Consortium page
│ ├── results.astro # Results page
│ └── 404.astro # 404 error page
├── astro.config.mjs
├── tailwind.config.cjs
└── package.json
- Astro 4.16.14 - Static Site Generator
- TailwindCSS 3.4.18 - Utility-first CSS framework
- MDX - Markdown with JSX support
- Sharp - Image optimization
- Astro Icon - Icon system
Complexity Science Hub Vienna
Metternichgasse 8
1030 Vienna, Austria
Email: contact@defitrace.info
Phone: +43 1 59991 600
GPL-2.0
This website is built with Astro and TailwindCSS, based on the Astroship template.