Giter Club home page Giter Club logo

woordle's Introduction

WOORDLE

Het is Wordle maar dan Nederlands!

Hoe draai ik dit?

Alle interactiecode is geschreven in Elm, een functionele programmeertaal die compileert naar ECMAScript (Javascript). Om de Elm compilatie juist te laten verlopen heb ik een Makefile gemaakt die bedoeld is om te draaien met een GNU compatible make.

De programma's die je nodig hebt zijn (en commando's voor macOS):

  • make (brew install make, gebruik commando gmake)
  • jq (brew install jq)
  • fswatch (brew install fswatch, alleen nodig voor ./preview.sh)
  • python3 (brew install python3, alleen nodig voor ./preview.sh)
  • elm (installatie instructies op de Elm site)
  • npm voor uglifyjs en elm-format (brew install nodejs)
  • uglifyjs (npm install)

Dan kan je de site lokaal zien door ./preview.sh uit te voeren, deze exporteert de site automatisch opnieuw bij veranderingen. De site zal beschikbaar zijn op http://localhost:8000

Als je klaar bent om de site te publiceren kan je make export draaien, en zal de app map de productiecode bevatten. Ik publiceer de website zelf via Cloudflare Pages, dit is de reden waarom ik de app map commit en push naar GitHub. Om te zorgen dat er geen oude of development versie op pages komt te staan gebruik ik de pre-push-hook, deze kan je in git installeren met mv pre-push-hook .git/hooks/pre-push-hook.

In het nieuws

Licentie

Je kan de code gebruiken onder de EUPL (zie LICENSE bestand). Deze licentie is vergelijkbaar met de AGPL, dus als je Woordle online zet met aanpassingen moet je ook de broncode online zetten met een verenigbare licentie.

Ik zou het wel fijn vinden als je in je eigen versie een andere naam dan "Woordle" of "WOORDLE" gebruikt.

woordle's People

Contributors

pingiun avatar lukasvan3l 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.