Places we have been.
Ruby HTML JavaScript CSS
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 24 commits behind findoutwho:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
lib
public
spec
tasks
.components
.gitignore
.ruby-gemset
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

Welcome to hasbeen.in, your geek-friendly travel site.

Travis Build Status

Find out where your fellow geeks have been, add yourself:

  • Fork this repo
  • Add your traveller file (*)
  • Send a pull request

Testing locally

Install all required Gems and start up Padrino:

$ bundle install
Using rake 10.1.1
[…]
Using puma 3.8.2
Bundle complete! 15 Gemfile dependencies, 46 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.

[…]
$ puma
[69267] Puma starting in cluster mode...
[69267] * Version 3.8.2 (ruby 2.4.1-p111), codename: Sassy Salamander
[69267] * Min threads: 5, max threads: 5
[69267] * Environment: development
[69267] * Process workers: 2
[69267] * Preloading application
[69267] * Listening on tcp://0.0.0.0:3000
[…]

Using nip.io you should reach hasbeen.in at: www.hasbeen.in.127.0.0.1.nip.io.

Traveller Profiles

(*) You'll find the profiles in config/travellers. The filename will be your subdomain name, so bascht.yaml will be available at bascht.hasbeen.in. Should a place be ambiguous, add a hash with the display name as key and a long name as a value for a city.

name: "Bascht"
profile:
  web: "http://bascht.com"
  twitter: "bascht"
  gravatar: "8656dc5476c819d4dcbd932a5744122a"
  current_hometown: "München, Deutschland"
hasbeen:
  cities:
    - "Leipzig"
    - "Hamburg"
    - "Oelsnitz"
    - "Cologne"
    - {"Amerika": "Amerika, Penig, Deutschland"}
[…]

Validating your files

If you want to validate your pull request before actually submitting it as an issue, use the built-in Rake task:

RACK_ENV=development bundle exec rake validate:travellers

--