Skip to content

hugomaiavieira/my-auction

Repository files navigation

MyAuction

My project to make auctions to sell stuff that I don't need anymore.

Configuration

Facebook

You have to create a Facebook app and set the environment variables ENV['FACEBOOK_KEY'] and ENV['FACEBOOK_SECRET']. On heroku:

$ heroku config:set FACEBOOK_KEY=214157648678402
$ heroku config:set FACEBOOK_SECRET=bafd7eae0823fa769c65997e398e7731

Admin area

You have to set the environment variable ENV['ADMIN_PASSWORD'] to access the admin area with the user "admin". On heroku:

$ heroku config:set ADMIN_PASSWORD=R2XcH4PYkC

Google Analytics

If you want to track your site with Google Analytics on production, you have to set the environment variables ENV['ANALYTICS_ID'] and ENV['ANALYTICS_DOMAIN']. On heroku:

$ heroku config:set ANALYTICS_ID='UA-43820486-7'
$ heroku config:set ANALYTICS_DOMAIN='hugomaiavieira.com'

Development

I've create a Facebook app for development and set the Facebook environments variables. You have to use the http://lvh.me:3000 if you want to use the facebook integration features on development environment.

About

My project to make auctions to sell stuff that I don't need anymore

Resources

Stars

Watchers

Forks

Packages

No packages published