Commit graph

16 commits

Author SHA1 Message Date
Will Read
98f50de06b Sets the new user up with an example set of agents
- gives them a place to start from
- leverages existing code to import scenarios
- adds test coverage to seeds to ensure sees can run multiple times against the same db as is the case for Docker
- adds env variable to set if importing is turned on for new user
- adds env variable to point to a custom scenario for new users
2016-04-10 16:03:21 -07:00
Dominik Sander
e32067862f Do not seed the database when the configured seed user already exists
#1315
2016-02-22 22:19:22 +01:00
Andrew Curioso
24e03a5b45 Fixed seeds and fictures for rain notifier
The seed rain notifier wasn't using liquid templates so the
conditions and location showed up as literal strings.
2014-08-06 21:45:14 -04:00
Andrew Cantino
ebe302492d fix some more XPaths 2014-07-30 14:05:40 -07:00
Andrew Cantino
732d353517 add params to db/seed.rb; provide better heroku login detection 2014-07-16 23:09:39 -07:00
Glenn 'devalias' Grant
bb407f50c1 Solves #354 2014-06-02 20:33:46 +10:00
ZirconCode
2fa1243dd4 Rails 4 deprecated find_by fix 2014-04-20 18:51:19 +02:00
Andrew Cantino
99644a426d Add XKCD hovertext to default seed and website agent 2014-04-05 17:04:43 -07:00
Andrew Cantino
23d6589c15 fix db/seeds.rb 2014-03-17 13:57:22 -07:00
Andrew Cantino
50f6837464 switch to strings in db seed 2014-03-16 21:58:46 -07:00
Jeremi Joslin
c8c46743e3 Change :on_change to string.
If not this the seed does not work
2014-02-20 10:20:00 +08:00
Andrew Cantino
3efaed7e2a update WeatherAgent to allow any location that wunderground supports 2013-08-09 12:36:35 -07:00
Andrew Cantino
3eff5bfa0c fix db:seed 2013-03-24 20:19:01 -07:00
Andrew Cantino
2d2683022d Tweak seeds again 2013-03-17 16:47:32 -07:00
Andrew Cantino
5bd158c03e Make iTunes example clearer 2013-03-17 16:42:05 -07:00
Andrew Cantino
620acffa5a initial commit 2013-03-09 22:36:12 -08:00