Skip to content

jeffreiffers/datafabrikken-portal

 
 

Repository files navigation

datafabrikken-portal

Description

A landing page (portal) for datafabrikken på datafabrikken.norge.no

Installation and Usage

  • Required tools to run this project:
    • Node.js and npm to run locally on a host machine
    • Docker and Docker Compose to run locally in a container

Running application locally on a host machine

  • Install dependencies by running npm install
  • Run npm start to start local development server

Running application in a Docker container

  • Build a Docker container using the following command:
    • docker build -t datafabrikken-portal .
  • Run the container using the following comand:
    • docker run -d -p 3000:8080 -t datafabrikken-portal

Running application using Docker Compose

  • Run the application using the following command:
    • docker-compose up -d

Environment Variables

  • ENV - Environment namespace
    • development
    • production

Contributing

Branching Strategy

Whenever a new change is to be implemented, follow these steps:

  • Create a new branch from the master branch
  • Implement and commit changes
  • Create a pull request for code review

Commits

This repository uses conventional commmit format. In order to commit, follow these steps:

  • Stage files to be committed
  • Run npm run commit script

Do not use --no-verify flag when making commits.

About

A landing page (portal) for datafabrikken

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.4%
  • Other 2.6%