This is the source code behind the "O que falta em Coimbra?" concept. Make sure you check out the Usage Guidelines.
Install Ruby 2.3.1 (if necessary). RVM is optional, but highly recommended.
rvm install ruby 2.3.1p112
git clone https://github.com/pgaspar/oqfc.git
cd oqfc
Install bundler
gem install bundler
Install the gems
bundle install --without production
Configure the app
config/config.rb.example
config.rb
Run the server
ruby app.rb
Go to http://127.0.0.1:4567
App global settings are available on your config/config.rb
. Here you can change the city name and background color, among other things.
For the Facebook Comments plugin to work you'll need to:
:site_url
setting corresponds to the Site URL and App Domains settings on your Facebook App configuration:fb_app_id
settingYou may also want to:
public/img/favicon.png
to your own colorpublic/img/logo.png
(this image is used by Facebook when sharing):meta_description
settingThe app is ready for deployment in Heroku. Troubleshoot here | Custom Domains.
Note: You need to remove the config/config.rb
line from .gitignore
so your configuration is sent to Heroku.
Fork, create a topic branch, change the code and create a Pull Request. Thanks!