Git Product home page Git Product logo

now-inzichtelijk's Introduction

NOW Regeling Inzichtelijk Website

Code achter de website: https://now-inzichtelijk.nl.

Ontwikkelomgeving vereisten

  • PHP 7.4 (incl. Composer)
  • MySQL
  • Node.js
  • Yarn / npm
  • (Optioneel) Redis

Installatie

  1. Maak een .env.local bestand gebaseerd op het .env bestand met jouw MySQL database gegevens.
  2. Maak een .php_cs bestand met dezelfde inhoud als het .php_cs.dist bestand.
  3. Installeer alle dependencies via composer: composer install.
  4. Run de lokale ontwikkel server: symfony serve.
  5. (Optioneel) Draai de Symfony Encore watcher via yarn encore dev --watch om frontend (CSS/JS) aanpassingen te compileren.

Handige commands

# Converteer PDF naar TXT
pdftotext -layout first-batch-1.pdf first-batch-1.txt

# Converteer alle batches van TXT naar CSV
php bin/console app:convert-1.0 && php bin/console app:convert-2.0 && php bin/console app:convert-1.1

# Drop de database en herimporteer de CSV bestanden
php bin/console doctrine:schema:drop --full-database --force && php bin/console doctrine:schema:update --force && php bin/console app:import-1.0 && php bin/console app:import-2.0 && php bin/console app:import-1.1 && php bin/console app:import-3.0

# Deploy
./vendor/bin/dep deploy production

Bijdrage doen

  1. Fork het project
  2. Maak een feature branch (git checkout -b feature/fooBar)
  3. Commit je aanpassingen (git commit -am 'x toegevoegd')
  4. Push naar je branch (git push origin feature/fooBar)
  5. Maak een pull request

now-inzichtelijk's People

Contributors

ansien avatar maartenbode 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.