Skip to content

Hosts the source code for proof-of-business user portals

Notifications You must be signed in to change notification settings

L3-iGrant/pob-user-portal

Repository files navigation

Bolagsverket (Proof of Business) - MyCompany Wallet

AboutRelease StatusLicensing

About

This repository hosts the source code for Bolagsverket Proof-Of-Business project

Release Status

Release 1.0 - The release is in alpha demo stage.

Installation

Requirements:

  • node.js 17.8

Steps to run

Pre-requisite:

  1. Docker is installed in the local system
  2. Setup up SSH in github

Steps:

  1. Clone this repo
git clone [email protected]:L3-iGrant/pob-user-portal.git
  1. Change the current direcotry to pob-user-portal
cd pob-user-portal
  1. To get an overview of different commands available in the current project run
make

The following commands are currently supported

------------------------------------------------------------------------
Bolagsverket (Proof Of Business) - MyCompany Wallet
------------------------------------------------------------------------
bootstrap                      Boostraps development environment
build/docker/deployable        Builds deployable docker image for preview, staging and production
build/docker/deployable_x86    Builds deployable docker image explicitly for x86 architecture
build                          Builds the docker image
deploy/production              Deploy to K8s cluster (e.g. make deploy/{preview,staging,production})
deploy/staging                 Deploy to K8s cluster (e.g. make deploy/{preview,staging,staging})
publish                        Publish latest production Docker image to docker hub
run                            Run dashboard locally for development purposes
setup                          Sets up development environment
  1. As a one time process, configure the Node.js and Nginx builder container
make setup 
  1. When the previous run has been completed, build the project to generate transpiled file.
make build
  1. Finally to run the server (https://pob-wallet.igrant.dev/) locally,
make run

Licensing

Copyright (c) 2022-25 Bolagsverket, Sweden

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.