mirror of
https://github.com/discourse/discourse.git
synced 2025-03-28 09:45:41 +08:00
Fixes #157 - Add mention of seed_fu to docs.
This commit is contained in:
parent
6c30e0b09c
commit
ddf1f27633
@ -14,7 +14,7 @@ Discourse.ComboboxViewCategory = Discourse.ComboboxView.extend({
|
||||
if (!templateData.color) return text;
|
||||
|
||||
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 + "\" ";
|
||||
}
|
||||
return result + ">" + text + "</span>";
|
||||
|
@ -19,8 +19,9 @@ to rails, you are likely much better off with our **[Discourse Vagrant Developer
|
||||
1. `bundle install`
|
||||
2. `rake db:migrate`
|
||||
3. `rake db:test:prepare`
|
||||
4. Try running the specs: `bundle exec rspec`
|
||||
5. `bundle exec rails server`
|
||||
4. `rake db:seed_fu`
|
||||
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!
|
||||
|
||||
|
@ -16,6 +16,7 @@ Until then, if you are feeling adventurous you can try to set up following compo
|
||||
- Ruby 1.9.3
|
||||
- Install all rubygems via bundler
|
||||
- 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
|
||||
- Run the Rails database migrations
|
||||
- Run a sidekiq process for background jobs
|
||||
|
Loading…
x
Reference in New Issue
Block a user