Skip to content
Personal website and blog for one Martin Raag.
HTML CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
js
site
.eleventy.js
.gitignore
.nvmrc
README.md
env.js
gulpfile.js
netlify.toml
package.json
postcss.config.js
yarn.lock

README.md

mraag.xyz

My personal website and blog, available at mraag.xyz.

About

The project generates a static website with Eleventy. The documents are styled with tailwindcss. Static assets include illustrations from absurd.design and icons from Feather.

Development

Building the project depends on Node.js and Yarn.

Install dependencies

yarn

Create configuration

The project is configured with a set of environment variables. In a development environment they can be specified with a .env file.

cat > .env <<EOF
NODE_ENV=development
MR_GA_ID=<google analytics id>
MR_EMAIL=<contact email>
MR_GITHUB_URL=<github profile url>
MR_LINKEDINI_URL=<linkedin profile url>
MR_TWITTER_URL=<twitter profile url>
MR_INSTAGRAM_URL=<instagram profile url>
EOF

Start development server

Runs a local development server and watches files for changes, triggering a rebuild.

yarn start

Build and deploy

For production builds, the NODE_ENV environment variable must be set to production.

yarn build

The static assets will be generated in the dist directory and can be deployed to any host capable of serving HTTP requests.

The project includes a configuration file for deployment to Netlify, which configures security and cache headers for the site.

You can’t perform that action at this time.