1
0
Fork
You've already forked website
0
forked from librewolf/website
The LibreWolf Website - New content will automatically be published when pushed to the master branch.
MDX 51%
TypeScript 45.6%
CSS 1.8%
Shell 1.1%
JavaScript 0.5%
Find a file
2024年10月07日 22:24:38 +02:00
components ran lint:fix on PR#70 2023年12月09日 22:00:48 +01:00
lib ran lint:fix on PR#70 2023年12月09日 22:00:48 +01:00
pages Merge branch 'master' of codeberg.org:librewolf/website 2024年10月07日 22:24:38 +02:00
public Replace favicon.ico 2023年12月25日 23:21:41 +01:00
styles fix: footer alignment 2024年06月20日 15:31:06 -04:00
.eslintrc.json add windows portable download button 2022年12月28日 16:10:41 +01:00
.gitignore Initial commit from Create Next App 2021年09月22日 16:27:28 +02:00
.prettierignore update prettier, eslint and .gitlab-ci.yml 2021年10月24日 13:28:57 +02:00
.prettierrc update prettier, eslint and .gitlab-ci.yml 2021年10月24日 13:28:57 +02:00
LICENSE Create LICENSE 2021年09月23日 15:15:38 +00:00
next-env.d.ts add flexsearch 2022年04月22日 15:18:03 +02:00
next.config.js add flexsearch 2022年04月22日 15:18:03 +02:00
optimize_images.sh optimize images 2023年02月18日 21:51:59 +01:00
package.json update dependencies and fix formatting 2023年09月17日 19:29:14 +02:00
README.md update prettier, eslint and .gitlab-ci.yml 2021年10月24日 13:28:57 +02:00
theme.config.tsx fix: footer alignment 2024年06月20日 15:31:06 -04:00
tsconfig.json update how download buttons work 2021年12月12日 19:53:55 +01:00
yarn.lock Deploy website to AWS 2024年07月18日 22:58:37 +02:00

librewolf-website

The wip new librewolf website built with Nextra and Next.js.

Getting Started

If you haven't installed it yet, install Node.js and yarn. Then, to install all the dependencies, run this in the source code directory:

yarn

After that, you can run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the website.

All of the content of the website is located in markdown files in the /pages directory (for example, the file for Recommended Addons is located under /pages/docs/addons.md). You can edit those files and the website will automatically be updated.

How to host

There are two options to host this website

Run a node.js server

Run yarn build to build the site and then yarn start -p <PORT> to start a node.js server.

Generate and serve static files

Run yarn export to build the site and export it to static html. The resulting files are located in ./out.

This method is not recommended since some parts of the website like the windows download button or the FAQ won't be kept up to date.