ZhaoTim / blog-2

Blog for dahliaOS

Home Page:https://blog.dahliaos.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebsiteDiscordReleasesDonateDocumentation

Blog

Website GitHub

  • Blog for the dahliaOS project.
  • Read the blog on the link here!

Development

To develop and locally test the blog:

Step 1. Install development tools:

  1. Install Node.js and NPM
  2. Install PNPM (recommended opposed to NPM/Yarn)
  3. Code editor of your choice (we recommend VSCode)

Step 2. Install dependencies:

Install node modules required to run the blog by running:

pnpm i

Step 3. Start the Next.js dev server:

pnpm dev

In a browser, load the page localhost:3000 and you should now be able to test the blog while making your changes. Next.js' dev server has hot reloading so no need to restart the instance when it's running!

Step 4. Build:

After making your changes and verifying it all works in the dev server, furtherly test them out by building the blog:

pnpm build

Step 5. Start:

pnpm start

In a browser, load the page localhost:3000 and you should now be able to view the built blog.

Contribute

If you're wondering how to contribute to the project, please refer to CONTRIBUTING.md

Sponsored by

License

Copyright @ 2019-2022 - The dahliaOS Authors - contact@dahliaos.io

This project is licensed under the Apache 2.0 license

About

Blog for dahliaOS

https://blog.dahliaos.io

License:Apache License 2.0


Languages

Language:TypeScript 72.5%Language:CSS 16.0%Language:JavaScript 11.6%