Commit Graph

268 Commits

Author SHA1 Message Date
nverba a61c194e58 Fix some errors. 2013-07-17 15:53:33 +01:00
nverba f43dc13e6b Updated HEROKU.md squashed
I've added an extra step to explicitly add the production.rb file.

Added S3 CDN instructions with asset sync gem. Users assets will auto sync with S3 on deploy, using Gziped files where available. This should significantly help with Heroku stability under load.

Added add-on instructions for some load testing services available through Heroku. Hopefully help us hack on performance and stability issues.

Some general houskeeping, fixed h1 h2 muddle and removed bundle exec from foreman commands, as it uses bundler by default, and added some commands for running tests.
2013-07-16 20:08:16 +01:00
Robin Ward e826a55dc3 Merge pull request #1179 from iamjarvo/1176_update_install_email_guide
Update typo in documentation
2013-07-11 06:47:34 -07:00
Paritosh Piplewar bb03e827d0 Update HEROKU.md
heroku has changed its default ruby version to 2.0.0 , now no need to write ruby version on top the of Gemfile. check https://blog.heroku.com/archives/2013/6/17/ruby-2-default-new-aps
2013-07-11 09:43:40 -04:00
Jearvon Dharrie 6a487f9a47 Update typo in documentation 2013-07-11 01:25:51 -04:00
Sam 21bfb64a28 added EMBED_CLOCKWORK so users can embed clockwork scheduling inside another process 2013-07-09 11:01:51 +10:00
Jeff Atwood 5d26ed9820 add hardware reqs 2013-07-04 00:43:17 -07:00
Jeff Atwood 649f1ebe61 add memory and dual core recommendations 2013-07-04 00:38:24 -07:00
Robin Ward d051e35000 Merge pull request #1117 from maddenwg/improve-docs
add step to drop and recreate database before changing seed Edit
2013-07-02 07:10:09 -07:00
Sam e4baea77be guide had invalid api 2013-07-02 13:19:52 +10:00
Graham Madden 43a846eb01 add step to drop and recreate database before loading production seed data 2013-06-30 16:19:36 -04:00
Jeff Atwood 61b387524d Merge pull request #1099 from Supermathie/sysadmin-docs
docs: Add link to Admin Guide
2013-06-26 21:02:00 -07:00
Michael Brown 7efe97798b docs: Add link to Admin Guide 2013-06-26 23:58:29 -04:00
Jeff Atwood 1323a717da Merge pull request #1094 from Supermathie/sysadmin-docs
docs: fix ugly linebreak issues in INSTALL-email
2013-06-25 22:34:50 -07:00
Michael Brown 6dc5659fed docs: fix ugly linebreak issues in INSTALL-email 2013-06-26 01:22:11 -04:00
Dan Johnson 98f926f193 remove unneeded has_ip_address gem 2013-06-25 19:47:32 -04:00
Jeff Atwood 686d1c0c25 Merge pull request #1080 from Supermathie/sysadmin-docs
Add documentation for discourse email setup
2013-06-24 01:21:25 -07:00
Michael Brown ecb3858283 docs: add warning to NOT use gmail for outgoing 2013-06-24 04:16:33 -04:00
Michael Brown ffba090fb7 docs: Add note on where to put local assets 2013-06-24 04:16:33 -04:00
Michael Brown c2e1e553bf docs: create configuration steps for mail 2013-06-24 04:16:25 -04:00
Sam ea932b74e7 values is a much more consistent name than all_values ... we use {}.values not {}.all_values
also fixes random ordering of tests failure in site settings
2013-06-23 15:07:49 +10:00
Robin Ward 8c4aac7f94 Migrate all jasmine specs to Qunit. Removed Jasmine. 2013-06-19 18:18:35 -04:00
Yehuda Katz 33955d62f0 Change "unicode" terminology to "UTF-8" 2013-06-19 10:30:24 -06:00
Jeff Atwood 34daa34bc1 Merge pull request #1042 from Supermathie/sysadmin-docs
Sysadmin docs
2013-06-18 00:49:12 -07:00
Michael Brown d80b33c290 Disable log rotation for now 2013-06-18 03:05:12 -04:00
Michael Brown 70be638f47 Update sample bluepill config and install docs 2013-06-18 02:28:30 -04:00
Cezar 79bd9d8d45 Added a line to activate the user from the rails console
I added a line to activate the user from the rails console, for the case when the mail server hasn't been configured yet and discourse can't send activation mails.
2013-06-16 19:41:27 -03:00
Michael Brown a908f00771 Documentation update: work in progress 2013-06-15 01:25:41 -04:00
Benjamin Kerensa 2b6a489b2e Capitalization and Minor Improvements
* ubuntu should be Ubuntu
* Ubuntu 12.04 should be Ubuntu Server 12.04 or Ubuntu Server 12.04 LTS (preferred by Ubuntu Community)
* Consistent capitalization of "Discourse"
2013-06-14 01:30:26 -06:00
Anton Moiseev 1890468951 correct crontab entry for RVM system-wide installation 2013-06-13 14:15:58 +04:00
Ben Adams 78eba92087 sp in a2ensite (missing n) 2013-06-10 22:08:00 +02:00
Jeff Atwood 7a73afa117 three main pre-reqs 2013-06-07 17:00:01 -06:00
Jeff Atwood 3fbcea6b21 add link to official-ish install docs 2013-06-07 16:57:55 -06:00
Jeff Atwood 9477cdaffa Robin lurves him some MailCatcher 2013-06-07 16:54:09 -06:00
Robin Ward 2d54537d6d Merge pull request #972 from Supermathie/sysadmin-docs
documentation: further improvements and TESTING!
2013-06-06 08:06:43 -07:00
Michael Brown e53cd0b083 documentation: further improvements and TESTING! 2013-06-06 04:58:39 -04:00
Jeff Atwood 67ba33dee5 Merge pull request #961 from Supermathie/sysadmin-docs
installdocs: Update with screenshots & more
2013-06-05 08:55:05 -07:00
Michael Brown fa965b5f92 installdocs: Update with screenshots & more
* add screenshots from Ubuntu config process
* add instructions for updating predeployed VMs
* add details on configuring mail server
* don't install test gems into prod
* no need for bundle exec
* small cleanups
2013-06-05 03:33:20 -04:00
Nick Sahler 6636aa0895 Added suggestion to reload nginx 2013-05-30 20:03:06 -03:00
Michael Brown 73d6014d10 documentation: merge & adapt suggestions from baus 2013-05-29 00:07:26 -04:00
Jeff Atwood bb063f2573 Merge pull request #914 from Supermathie/sysadmin-docs
documentation: add instructions on updating
2013-05-28 14:55:16 -07:00
Michael Brown 7fee7361c7 documentation: add instructions on updating 2013-05-28 17:46:55 -04:00
Sam 6a4b3e6058 Merge pull request #895 from GlitchMr/readme-links
Use relative URLs, not absolute.
2013-05-26 17:46:14 -07:00
Michael Brown 6257c48613 Updated documentation
* added RVM option for single-user install
* clarified Web Server options
* bluepill sample config: create socket directory if it doesn't exist
* add multisite.yml.production-sample
* rename production.sample.rb (OCD)
* make two database.yml samples (one for dev, one for prod)
* fixed travis build (database.yml.sample renamed)
* fix other references to database.yml.sample
* clean up 'rvm requirements' instructions as per @mpapis
2013-05-25 00:07:45 -04:00
Konrad Borowski c377e7d1ce Use relative URLs, not absolute.
This helps if somebody would fork a GitHub repository, as the links
now lead to files in fork, not files in original repository. Also, it
makes more sense when reading Markdown files locally.
2013-05-24 16:32:45 +02:00
Konrad Borowski ea47bc4363 Insert CONTRIBUTING link to main directory, so GitHub would see it 2013-05-24 11:20:03 +02:00
bsides 1b12ebb11e Just fixed a typo and added a warning
Honest mistake I took from pasting it from my own system :)
2013-05-22 18:13:57 -03:00
bsides c3de4cd35d Adding Apache2 + Passenger instead NGINX 2013-05-22 13:09:51 -03:00
Sam 6e95ef8196 Merge pull request #874 from realdoug/master
Update Heroku deployment instructions
2013-05-21 23:05:09 -07:00
Michael Brown 85e6151542 install notes: pull down latest release 2013-05-21 23:02:38 -04:00
Doug Friedman 51fb7cf371 update heroku instructions 2013-05-21 19:09:17 -05:00
Michael Brown 49f56964ce Further modifications to installation instructions 2013-05-21 09:40:42 -04:00
Michael Brown f867bd8509 Tweaks to installation documentation 2013-05-21 09:40:42 -04:00
Michael Brown bda5fc6596 Add Ubuntu installation guide 2013-05-21 09:40:42 -04:00
John Joseph Bachir 7ece167159 redis configurable via ENV
Change heroku docs and tweak redis.yml.sample var name
to accmodate setting redis provider url via configs.
2013-05-20 20:41:33 -04:00
John Joseph Bachir a2c2d0f5de correct language for code block 2013-05-20 20:41:16 -04:00
Sam b045c23ec4 Update DEVELOPER-ADVANCED.md 2013-05-18 09:12:57 +10:00
Chris Hunt 9c092366e0 Add explicit 'spec' rake tasks
This doesn't require auto-loading of rspec-rails and puts the 'spec'
task in the rake task list (rake -T)
2013-05-17 16:02:43 -07:00
Katrina Owen a7f3b58960 Fix typo in contribution document 2013-05-14 23:28:30 +02:00
Sam e9fc272db7 remove acts_as_paranoid, use .trash! , .recover! and .with_deleted as needed
makes upgrading to rails 4 possible
2013-05-07 14:39:01 +10:00
Juan David Pastas 56ea11e984 Update TROUBLESHOOTING.md 2013-05-03 19:09:06 -05:00
Jeff Atwood b7fc8ac33c Merge pull request #793 from Supermathie/build-doc-changes
Vagrant docs update
2013-04-29 21:18:21 -07:00
Michael Brown 50c9bf4086 Vagrant docs update
* Reveal existence of 7zipped vagrant image
* Update with notes from my experience
2013-04-29 23:54:51 -04:00
Jeff Atwood 96a992db19 add links to github issues and meta 2013-04-29 12:36:26 -07:00
Jeff Atwood 65eacbc7b0 disallow style-change only PRs 2013-04-29 12:33:47 -07:00
Jeff Atwood a1c879668d f**k you && and || 2013-04-26 13:09:40 -07:00
Darren Nix 6b54f1a6b0 Add clarification of how to set force_hostname
The original instructions told the user to log into Discourse Admin settings in order to set the force_hostname parameter so that the email validation URLs would be correct.  However, it is not possible to log in until email is validated.   This commit adds instructions for setting force_hostname through the console.
2013-04-23 10:47:32 -07:00
Neil Lalonde 2e7807901f Add a note about nfs support on linux to VAGRANT.md 2013-04-21 15:04:05 -04:00
David Long 8050350b3b Changed private rw repo to public r repo 2013-04-17 12:26:27 -03:00
Jeff Atwood 5fc38d0613 use proper blog post title for consistency 2013-04-10 15:05:22 -07:00
Jeff Atwood 703ead66b4 move vagrant warning down 2013-04-10 14:58:12 -07:00
Jeff Atwood 41dde3fb63 add link to blog post 2013-04-10 14:55:14 -07:00
Michael Scott Shappe 668bf4e86e The wrong version actually got moved to this branch when I tried to clean some things up. This version should be correct :-) 2013-04-03 22:36:17 -05:00
Michael Scott Shappe ab8c1b7129 Instructions for creating an OS X native development environment
Probably not 100% complete yet, but covers enough to pass all specs.

NOTE: requires either libXML2 2.7.6 or the separately submitted fix to
pretty_text_spec.rb
2013-04-03 17:08:07 -05:00
Neil Lalonde 083ab0465c re issue #603: Better instructions showing that code is at /vagrant in vagrant image 2013-04-01 10:52:49 -04:00
nverba e437147add Added Autoscaler guide to advanced heroku deployment
This was the proposed change to add an optional step for including and configuring the Autoscaler Gem in the HEROKU.md doc. I've included a pastable version of the Sidekiq initializer file that only adds the autoscaler middleware in production.
2013-03-30 13:21:53 +00:00
Shawn Holmes 853c13f705 Update VAGRANT.md
Added link to Vagrant download page
2013-03-29 15:17:50 -06:00
Robin Ward 473a64d39d Add score, percent_rank to topics. Adds `HotTopic` model and consolidated job to calculate
hotness. Note: People on Heroku will have to update their jobs to the new structure
in Heroku.md
2013-03-28 15:39:54 -04:00
Mark Rushakoff 60d8dc15f3 Add link to GitHub contributors 2013-03-27 22:50:35 -07:00
Malachai f9ae79bbb4 Update VAGRANT.md
Updated to include direct link to Guard Repo
2013-03-25 02:14:19 -03:00
Neil Lalonde 0784c3bbe9 Update DEVELOPER-ADVANCED.md 2013-03-24 23:49:40 -04:00
Neil Lalonde ff3028de07 Fix a typo and add a step to DEVELOPER-ADVANCED.md 2013-03-24 16:46:28 -04:00
Régis Hanol 27d2645595 added GIT dependency to VAGRANT guide 2013-03-23 23:26:17 +01:00
nverba ba189df836 added mandrill email example 2013-03-23 01:53:40 +00:00
Robin Ward ddff23cc27 Updated Vagrantfile to support Vagrant 1.1.2 - you will probably need to download
Vagrant again! http://downloads.vagrantup.com/
2013-03-20 22:14:26 -04:00
Sam 46b3c364f8 Merge pull request #470 from nverba/update
refactored redis.yml.sample for easier local precompile, updated docs
2013-03-16 15:51:01 -07:00
nverba c5b62ac52a refactored redis.yml.sample for easier local precompile, updated docs 2013-03-16 01:35:38 +00:00
Sandy Vanderbleek 204dcc43a4 Use Diffy as DiffEngine implementation 2013-03-15 17:31:51 -07:00
nverba 68e3f5228f Basic Heroku integration 2013-03-13 19:07:49 +00:00
Kevin Ansfield 72ae964e01 Add step to reset Gemfile.lock to TROUBLESHOOTING.md 2013-03-13 11:16:45 +01:00
Neil Lalonde 0bbcd6f7e4 Add a warning about bundle update to TROUBLESHOOTING.md 2013-03-07 16:20:09 -05:00
Kuba Brecka 3f4c9c3c16 typo fixes in docs 2013-03-05 00:06:50 +01:00
Neil Lalonde fbeee1b13d Add a point about host_names in the troubleshooting doc 2013-03-04 15:18:58 -05:00
Robin Ward 8c914e869d Merge pull request #317 from goshakkk/contrib-coding-style
Add basic coding style guidelines to CONTRIBUTING.md
2013-03-04 10:58:09 -08:00
Régis Hanol 43042d65bc update vagrant documentation
to deal with eventual troubles while downloading the box
2013-03-03 16:58:45 +01:00
Gosha Arinich a1e462101d add basic coding style guidelines to CONTRIBUTING.md 2013-03-01 23:32:41 +03:00
Robin Ward f1d6702de6 Added basic troubleshooting guide. A lot of people are on Ruby 1.8 for example
and this should help them out.
2013-02-28 12:11:25 -05:00
Robin Ward 007118b00c Merge branch 'github-auth' of git://github.com/nverba/discourse
Conflicts:
	config/locales/server.en.yml
	db/structure.sql
	spec/views/omniauth_callbacks/complete.html.erb_spec.rb
2013-02-27 12:09:22 -05:00
Jeff Atwood ff92fc900c update readme and authors 2013-02-27 01:14:44 -08:00
Robin Ward ddf1f27633 Fixes #157 - Add mention of seed_fu to docs. 2013-02-26 12:45:56 -05:00
nverba b45f872c04 Added Github authentication option, disabled by default with enable options in settings. 2013-02-26 05:00:21 +00:00
balpha a64d84d504 ActiveRecord requires the postgres server to speak English; add this fact to the docs 2013-02-24 14:42:37 +01:00
Martin Potthast ac64be720e Vagrant now attempts to mount NFS on both Linux and Darwin. Updated documentation accordingly. 2013-02-22 16:43:56 +01:00
Ian Carroll bb78b8c0d4 Shorter is better 2013-02-21 17:33:49 -05:00
Robin Ward f661fa609e Convert all CoffeeScript to Javascript. See:
http://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
2013-02-20 19:01:13 -05:00
Robin Ward 28dc08e7ef Update docs/DEVELOPER-ADVANCED.md
Seed download link was wrong
2013-02-19 17:24:18 -05:00
Régis Hanol 859a6e18b5 changed links to localhost to clickable ones 2013-02-18 19:44:11 +01:00
Sam 53539aa799 Merge pull request #182 from danneu/guide-typo
fixed guide download link
2013-02-17 13:56:15 -08:00
Shawn Holmes 3c97cda8e4 Update docs/VAGRANT.md
- added a subsection for Windows users on what they need to do in lieu of 'vagrant ssh' not working on the Win platform.
2013-02-17 14:11:57 -07:00
Dan Neumann 7df5366aed fixed guide download link 2013-02-16 22:55:43 -06:00
Shawn Holmes 921c3f016f Update docs/VAGRANT.md
- reverted the Vagrant URL to http; using the https link generates a security warning in Chrome.
2013-02-15 22:06:14 -07:00
Alexander c01c64992c move TESTING into docs/ 2013-02-15 09:14:42 -08:00
Anthony Alberto f00aa30f63 Fixes Issue #37 . Going to a user profile now updates the meta title. Also fixed a minor DEV guide typo. 2013-02-14 16:11:54 -05:00
Robin Ward cba4c9051a Merge pull request #160 from jaimeiniesta/replace_hpricot_with_nokogiri
Replace hpricot with nokogiri
2013-02-14 07:55:19 -08:00
Robin Ward f1456f79bb Closes #114 - Typo fix by nitper 2013-02-14 10:33:22 -05:00
Jaime Iniesta e4c1b9702b Use FakeWeb to fake web requests on specs 2013-02-14 11:35:50 +01:00
Jaime Iniesta 6995e75d41 Replace Hpricot with Nokogiri 2013-02-14 11:35:50 +01:00
Marco Ceppi 6e945041e9 Re-organization of documents
Fix links to new /docs/ directory
2013-02-13 10:37:56 -05:00