Skip to content

pejamz/FindSampo

 
 

Repository files navigation

FindSampo

Main reposity of the FindSampo project.

Project homepage: https://blogs.helsinki.fi/sualt-project

master branch visible at https://dev.löytösampo.fi

test branch visible at https://test.löytösampo.fi

Initialization

Before starting, ensure that you have installed node v.10.15^ and yarn v.1.17^.

In this project yarn is used as a package manager tool. Please avoid using NPM

Yarn initialization instructions: https://yarnpkg.com/en/docs/install

After these steps, run command "yarn" then you are ready to run the available scripts.

Available Scripts

In this project directory, you can run:

yarn start:dev

Runs the app in the development mode.

Runs builds on file changes

yarn build:dev

Builds the app for development production to the build folder.

yarn build:prod

Builds the app for production to the build folder.

Deploy with Docker

Build

docker build -t findsampo_image .

Run

docker run -d -p 3007:3001 --name findsampo findsampo_image

Upgrade

docker build -t findsampo_image .
docker stop findsampo
docker rm findsampo
docker run -d -p 3007:3001 --name findsampo findsampo_image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.1%
  • CSS 8.3%
  • Other 0.6%