Static pages for CORE. The project is based on React and Next.js.
-
Node.js: [download from nodejs.org][node-download] or check the [official installation guidelines][node-package-manager-download] if you prefer using a package manager
-
NPM: usually is installed with Node but you can have a look at the [installation guide][npm-install]
-
NPM_TOKEN: generate a token with the
package:read
permission at your [GitHub Settings][github-token] and place it into your.bashrc
or.zshrc
as follows:export NPM_TOKEN=<your-token-goes-here>
The token is needed to enable NPM to download our scoped
@oacore
packages, deployed to the GitHub Registry.
When you pass all Prerequisites you can cd
into the
project directory and start development as follows:
npm install
npm run dev
- Use Node v.16
- Run
npm update @oacore/design
Open localhost:3000 to see the website.
Well done! 🎉
The infrastructure and relations between the front-end modules is displayed using the following diagram:
There is a Library Layer providing all shared components for the applications, and an Application Layer which consists of these applications, consuming shared components.
Specifically, this projects requires the [@oacore/design][design] package during the installation stage and depends on [oacore/content][content] and our [API][api] at the build stage.
We use [Netlify CMS][netlify-cms] for editing our content. The CMS pushes changes to some directories at [oacore/content][content].
Also, this projects uses images hosted directly from oacore.github.io/content for simplicity.
We support Open Access and Open Source. Many open-source and non-open-source projects help us to deliver our products in great quality.
We give thanks to: