aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Make sample data nicer.Harald Eilertsen2014-02-061-2/+7
| | | | | - Wrap text in simple html. - Assign sidebar position to categories.
* Posts in sample data should belong to category.Harald Eilertsen2013-12-231-4/+5
|
* Add rake task to generate sample data.Harald Eilertsen2013-12-231-0/+35
| | | | | | | | | Run `rake dev:load_sample_data` to populate the database with sample data. This creates the following: - The categories [Nyheter, Intervjuer, Anmeldelser, Artikler] - A "sample user" we can use as the author of posts. - 5 blog posts in each category.
* Update script to set up dev environment.Harald Eilertsen2013-04-191-2/+6
| | | | | Now copies the example refinery core config to the right place. And don't bomb if database.yml already exist.
* Create development setup script.Harald Eilertsen2013-01-281-0/+10
| | | | | | Runs bundle install, creates database config and loads the database schema and initial seed. Should probably be made smarter in the end, but for now we'll try to get by with this.
* Initial commit.Harald Eilertsen2013-01-251-0/+0