b10n1k / project-portal

Home Page:http://opensource.suse.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿ“ Adding new project/product

Opening an Issue

To add your project, create an issue at https://github.com/SUSE/project-portal/issues/new/choose with the template provided.

Opening a PR

To add new content to the list of projects/products, please follow the instructions below:

  • Duplicate one of the items array under /db/projects.js and fill it with your information.
  • Create a new PR with your changes, one of the repository owners will review it before mergin.

๐Ÿ’  Getting Started

For development, please run the following commands:

# This will create an env file with all the things needed for local development (rewrites paths, etc.)
cp .template.env .env.development.local

*Requieres Node installed.

npm install
# then:
npm run dev
# or
yarn dev

Project configuration can be found under /db/project-info.js. You'll need to fill it with your information and the changes would be reflected (live reload) at http://localhost:3000


Build for production

You can serve the applications a Server-Side render with npm start. This will build the Production Ready application.

If you want to generate static files to serve as Static Site on Github Pages for example you should run npm run static. This will generate an /out folder with all the static files.

About

http://opensource.suse.com


Languages

Language:TypeScript 98.5%Language:JavaScript 1.4%Language:Shell 0.0%