mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 00:01:13 +08:00
Fixes #157 - Add mention of seed_fu to docs.
This commit is contained in:
@ -14,7 +14,7 @@ Discourse.ComboboxViewCategory = Discourse.ComboboxView.extend({
|
|||||||
if (!templateData.color) return text;
|
if (!templateData.color) return text;
|
||||||
|
|
||||||
var result = "<span class='badge-category' style='background-color: #" + templateData.color + "' "
|
var result = "<span class='badge-category' style='background-color: #" + templateData.color + "' "
|
||||||
if (templateData.description && templateData.description != 'null') {
|
if (templateData.description && templateData.description !== 'null') {
|
||||||
result += "title=\"" + templateData.description + "\" ";
|
result += "title=\"" + templateData.description + "\" ";
|
||||||
}
|
}
|
||||||
return result + ">" + text + "</span>";
|
return result + ">" + text + "</span>";
|
||||||
|
@ -19,8 +19,9 @@ to rails, you are likely much better off with our **[Discourse Vagrant Developer
|
|||||||
1. `bundle install`
|
1. `bundle install`
|
||||||
2. `rake db:migrate`
|
2. `rake db:migrate`
|
||||||
3. `rake db:test:prepare`
|
3. `rake db:test:prepare`
|
||||||
4. Try running the specs: `bundle exec rspec`
|
4. `rake db:seed_fu`
|
||||||
5. `bundle exec rails server`
|
5. Try running the specs: `bundle exec rspec`
|
||||||
|
6. `bundle exec rails server`
|
||||||
|
|
||||||
You should now be able to connect to rails on http://localhost:3000 - try it out! The seed data includes a pinned topic that explains how to get an admin account, so start there! Happy hacking!
|
You should now be able to connect to rails on http://localhost:3000 - try it out! The seed data includes a pinned topic that explains how to get an admin account, so start there! Happy hacking!
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ Until then, if you are feeling adventurous you can try to set up following compo
|
|||||||
- Ruby 1.9.3
|
- Ruby 1.9.3
|
||||||
- Install all rubygems via bundler
|
- Install all rubygems via bundler
|
||||||
- Edit database.yml and redis.yml and point them at your databases.
|
- Edit database.yml and redis.yml and point them at your databases.
|
||||||
|
- Run `rake db:seed_fu` to add seed data
|
||||||
- Prepackage all assets using rake
|
- Prepackage all assets using rake
|
||||||
- Run the Rails database migrations
|
- Run the Rails database migrations
|
||||||
- Run a sidekiq process for background jobs
|
- Run a sidekiq process for background jobs
|
||||||
|
Reference in New Issue
Block a user