The source code behind https://strehlow-uckermark.netlify.app/home.
This is hobby project that aims to establish a website for peers of mine. I started the project using Ember.js which was appealing in the beginning but a hassle when it came to set up a proper component lifecycle for a Map component using third party libraries. This is the old repo: https://github.com/geomC/strehlow-ember.
Furthermore, this new start incorporates what I have learned developing for FixMyBerlin.
As development boiler plate, webkid´s React Starterkit is used, thanks guys!
Development requires optaining a personal mapbox API Token, since the API key stored in the repo is bound to the host where the app is deployed to later on.
Store the key in ./.env like MAPBOX_KEY_DEV={INSERT-YOUR-KEY-HERE}
. Otherwise webpack will throw an error complaining about the missing environment variable.
Builds the application and starts a webserver with hot loading.
$ npm run start
The app runs on localhost:8080
Builds a minified version of the application in the build folder.
$ npm run build
Netlfiy is used for continious deployments. Production builds can be viewed at https://strehlow-uckermark.com.
$ cd somePath
$ mogrify -resize 480x320 *.jpg