Coder Social home page Coder Social logo

min-ia's Introduction

Forebygge fravær

Landingsside for selvbetjente IA-tjenester

Kjøre lokalt med hot-reload

  • Autentiser deg i Naisdevice hvis du skal bruke NAVs dekoratør.
  • Naviger til /server
  • Rename filen .env.example -> .env
  • Installer avhengigheter: yarn
  • Kjør opp applikasjon: yarn dev eller TEST_MODE=KREVER_INNLOGGING yarn dev (se package.json for flere opsjoner)
  • Naviger til ../client
  • Installer avhengigheter: yarn
  • Kjør opp applikasjon: yarn dev
  • Åpne applikasjonen på http://localhost:3000/forebygge-fravar (for Safari browser, legg til "ws://localhost:3000", i connect-src variabel i sp.js fil.

Kjøre applikasjonen med Docker:

  1. Autentiser deg i Naisdevice hvis du skal bruke NAVs dekoratør.
  2. Start container runtime (f.eks docker desktop eller colima)
  3. Kjør docker build . -t min-ia fra rotmappen
  4. Kjør docker run -p 3000:3000 --env-file=./server/.env.example --env-file=./client/.env.local min-ia fra rotmappen.
  5. For å stoppe, kjør docker kill <id>, hvor id-en hentes ved å kjøre docker ps

min-ia's People

Contributors

runska avatar thomasdufourd avatar malazalkoj avatar erlend-axelsson avatar tharaldyo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.