GithubHelp home page GithubHelp logo

ahilsend / vad-kostar-bostaden Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonashartwig/vad-kostar-bostaden

0.0 0.0 0.0 938 KB

License: GNU General Public License v3.0

JavaScript 2.04% TypeScript 42.53% CSS 3.32% HTML 2.91% Dockerfile 0.37% Svelte 45.86% Mustache 2.97%

vad-kostar-bostaden's Introduction

vad kostar bostaden

Information about pantbrev and lagart can be obtained here: https://www.ekonomifokus.se/bostad/juridik/lagfart-och-pantbrev Apply for lånelöfte and compare banks: consector.se

Translations

Adding translations is done in two steps. First add a json file with country name into app/src/translations. Naming of those files must be the 2 letter abbreviation (e.g. gb for Great Britain). Those abbreviations are matched agains symbols from flag-icons. The second step is to change the languages module. In that module update the function getLanguageToCountryMap. Use the two letter country abbreviation as key and add a new object of LanguageConfiguration.

How to develop this locally?

Starting up a web page locally is just one command away: npm run dev (assuming you have nom and nodejs installed). That launches a web server with HMR and is available at port 8080. Use any browser to surf to localhost:8080.

You may also use docker. This requires docker to be installed. Build the container and mount the app directory. It will result having a website on the same port as above and is reachable by your favorite browser. From the root of the project you should run this: docker build -f Dockerfile-dev . -t vad-kostar-bostaden-dev (this only needs to be done once and/or when adding new dependencies). Afterwards run docker run -v $(pwd)/app:/app -p 8080:8080 vad-kostar-bostaden-dev.

How to deploy this?

This uses docker to build the page in production mode. The image contains the static page and a nginx webserver. From the root dir run: docker build . -t vad-kostar-bostaden. Afterwards you can start a container by running: docker run -p 8080:80 vad-kostar-bostaden and navigate to localhost:8080.

vad-kostar-bostaden's People

Contributors

dependabot[bot] avatar jonashartwig 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.