Add basic readme.
This commit is contained in:
@ -1,3 +0,0 @@
|
|||||||
# ocp-app-delivery-workshop
|
|
||||||
|
|
||||||
A three hour workshop for teams new to OpenShift that will deliver and support existing applications on the platform.
|
|
||||||
31
README.org
Normal file
31
README.org
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#+TITLE: OpenShift Application Delivery Workshop
|
||||||
|
#+AUTHOR: James Blair
|
||||||
|
#+DATE: <2023-12-04 Mon>
|
||||||
|
|
||||||
|
This repository contains a basic [[https://nextjs.org/][nextjs]] frontend designed to be exported as a static site and served via [[https://pages.github.com/][github pages]].
|
||||||
|
|
||||||
|
|
||||||
|
** Local development
|
||||||
|
|
||||||
|
To set up a local development environment run the following:
|
||||||
|
|
||||||
|
#+begin_src bash
|
||||||
|
# Install dependencies
|
||||||
|
npm install
|
||||||
|
|
||||||
|
# Build and serve the site
|
||||||
|
npm run build && npm run serve
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
** Exporting static site
|
||||||
|
|
||||||
|
To export the site to static html to serve for example via github pages, run:
|
||||||
|
|
||||||
|
#+begin_src bash
|
||||||
|
# Install dependencies
|
||||||
|
npm install
|
||||||
|
|
||||||
|
# Build and export the site
|
||||||
|
npm run build && npm export
|
||||||
|
#+end_src
|
||||||
Reference in New Issue
Block a user