Website ● Discord ● Releases ● Donate ● Documentation
- Official, one and only website for the dahliaOS project
- Find it by clicking here!
If you're interested in contributing to the project, please refer to CONTRIBUTING.md
- Install node js and npm
- Install yarn v2 (recommended opposed to npm)
- Install your favorite editors
To locally test the website:
Install node modules required to run the website:
$ yarn
or
$ npm i
$ yarn dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc" https://nextjs.org/docs/messages/swc-disabled
info - Using external babel configuration from /Users/loosk/Documents/GitHub/website/.babelrc
event - compiled client and server successfully in 4.5s (970 modules)
NextJS dev server has hot reloading, so no need to restart the instance when its running!
After doing your contributions, test your changes for sure by building
$ yarn build
info - Using webpack 5. Reason: no custom webpack configuration in next.config.js https://nextjs
.org/docs/messages/webpack5
info - Checking validity of types
info - Creating an optimized production build
info - Compiled successfully
info - Collecting page data
info - Generating static pages (7/7)
info - Finalizing page optimization
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
(ISR) incremental static regeneration (uses revalidate in getStaticProps)
Done in 44.71s.
$ yarn start
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
In a browser load page localhost:3000. You should now be able to test the website.
Copyright @ 2019-2022 - The dahliaOS Authors - [email protected]
This project is licensed under the Apache 2.0 license