WARNING: This project isn't maintained anymore.
Interactive map of bars, clubs and restaurants in Berlin.
$ sudo npm install -g http-server
$ http-server
Note: Front-end errors won't be sent to Sentry. See Monitoring/Alerting.
$ npm install
$ npm run-script karma
Note: Front-end errors won't be sent to Sentry. See Monitoring/Alerting.
$ sudo pip install awscli
$ aws configure
AWS Access Key ID [None]: ********
AWS Secret Access Key [None]: ********
Default region name [None]: us-east-1
Default output format [None]:
$ ./aws/dns_create.sh
$ ./aws/dns_update.sh
We use Netlify to deliver the app over HTTPS. Install the Netlify CLI and authenticate with
$ sudo npm install -g netlify-cli
$ netlify sites # first authentication, creates ~/.netlify/
Create this site on Netlify:
$ netlify create -n myberl.in # already done, creates ./.netlify
Enable GitHub continuous deployment:
$ netlify init
? Directory to deploy (blank for current dir):
? Your build command (middleman build/grunt build/etc):
Configuring automated deploys for
repo: AurelienLourot/myberl.in
branch: master
dir: .
cmd: N/A
? Looking good? Yes
? GitHub username: AurelienLourot
? GitHub password: ********
Preparing deploy key
Adding deploy key to github repo
Configuring netlify site
Adding webhook to repository
Success! Whenever you push to Github, netlify will build and deploy your site
http://myberl-in.netlify.com
Set the domain name:
$ netlify update -d myberl.in
Site updated:
http://myberl.in
Any front-end error is sent to Sentry (except when served on *localhost*
).
This can be leveraged by loading the webapp regularly from the console or a cronjob:
$ sudo apt-get install phantomjs
$ npm run-script loadsite
In addition to sending any error to Sentry, npm
will terminate with a non-null exit value if:
- the app's initialization times out, or
- myberl.in is unreachable.