Giter VIP home page Giter VIP logo

mva-meldingen's Introduction

Mva-meldingen

Documentation for mva-meldingen

Notebook Examples

How to get the examples up and running(Linux Ubuntu).

Initial setup

Open terminal in this repository(mva-meldingen).
Install jupyter notebook

snap install jupyter

Check that you have python and pip installed.

#Check the system Python version
python --version

#Check the Python 2 version
python2 --version

#Check the Python 3 version
python3 --version

#Python 2
pip --version

#Python 3
pip3 --version

If you are missing them, then you need to install them.
Using python3 moving forward. Change 3.8 with a 2.x.x if desired and python3 with python to use Python2.

sudo apt-get update
sudo apt-get install python3.8
sudo apt install python3-pip 

Running notebook

Move to the example files folder.

cd docs/documentation/test

To run jupyter notebook.

jupyter notebook

Choose browser, we use Chrome.
Open innsending-eksempel.ipynb

To run the script. Click on a box and press "Run" You can do this for each box or you can go to the toolbar and click "Cell" and then "Run All"
If you want to do changes or re-run the script then it's sensible to restart the kernel. "Kernel" -> "Restart"
Also useful to remove the output prints. "Cell" -> "All Output" -> "Clear"

To run the script you need a test account in digdirs minid, as well as change the organisation number,
which is defined as a variable in the script and in the MvaMeldingInnsending ("konvolutt") and mvamelding .xml files.

Documentation

Initial setup

Getting the gatsby-starter-skatteetaten module (TODO: Add more docs)

git submodule init
git submodule update

How to build

The project is built using npm from the current Node LTS. Install with nvm;

nvm install --lts

Then run

npm install

to install the dependencies.

npm start

will start a local web server and continuously build the documentation as you make changes.

Deploying to github pages

mva-meldingen's People

Contributors

einarhartvigolsenskattetaten avatar james-mcred-skatt avatar kristianlie avatar kristoffermagelssen avatar pmyrvang avatar sjurbren avatar

Watchers

 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.