Skip to content

Commit d17a3f6

Browse files
committed
remove out-of-date install scripts
1 parent 441b43f commit d17a3f6

File tree

3 files changed

+49
-62
lines changed

3 files changed

+49
-62
lines changed

Diff for: docs/02-development-environments/04-macos-setup.md

+11-20
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,20 @@ We'll assume that you don't have Ruby/Rails/Postgres/Redis installed on your Mac
1212

1313
## Install Discourse Dependencies
1414

15-
Run [this script][mac_script] in your Terminal (or equivalent), to setup your machine for Discourse development:
15+
You will need the following new packages on your system:
1616

17-
```sh
18-
bash <(curl -s https://raw.githubusercontent.com/discourse/install-rails/main/mac)
19-
```
20-
21-
This script will install following new packages on your system:
22-
23-
- Homebrew
2417
- [Git][git_link]
25-
- [rbenv][rbenv_link]
18+
- [rbenv][rbenv_link] or [asdf][asdf_link]
2619
- [ruby-build][ruby_build_link]
2720
- [Ruby][ruby_link] (latest stable)
2821
- [Rails][rails_link]
2922
- [PostgreSQL][pg_link]
23+
- [SQLite][sqlite_link]
3024
- [Redis][redis_link]
31-
- [Bundler][bundler_link]
32-
- Node
25+
- [Node.js][node_link]
3326
- [pnpm][pnpm_link]
34-
- [MailHog][mh]
35-
36-
_In case you have any of this package pre-installed and don't want to run entire script, see the [script][mac_script] and pick the packages you don't have currently installed. The script is fine-tuned for Discourse, and includes all the packages required for Discourse installation._
27+
- [MailHog][mh_link]
28+
- [ImageMagick][imagemagick_link]
3729

3830
> restart your terminal
3931
@@ -135,17 +127,16 @@ Congratulations! You are now the admin of your own Discourse installation!
135127

136128
Happy hacking! And to get started with that, see [Beginner’s Guide to Creating Discourse Plugins](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins/30515).
137129

138-
[mac_script]: https://github.com/discourse/install-rails/blob/main/mac
139130
[git_link]: http://git-scm.com/
140131
[rbenv_link]: https://github.com/sstephenson/rbenv
132+
[asdf_link]: https://asdf-vm.com/guide/getting-started.html
133+
[node_link]: https://nodejs.org/en
141134
[ruby_build_link]: https://github.com/sstephenson/ruby-build
142135
[ruby_link]: https://www.ruby-lang.org/
143136
[rails_link]: http://rubyonrails.org/
144137
[pg_link]: http://www.postgresql.org/
145-
[phantom_link]: http://phantomjs.org/
138+
[sqlite_link]: https://sqlite.org/
146139
[redis_link]: http://redis.io/
147-
[bundler_link]: http://bundler.io/
140+
[imagemagick_link]: http://www.imagemagick.org/
148141
[pnpm_link]: https://pnpm.io/
149-
[docker_guide]: https://meta.discourse.org/t/beginners-guide-to-deploy-discourse-on-digital-ocean-using-docker/12156
150-
[short_name]: http://forums.macrumors.com/showthread.php?t=898855
151-
[mh]: https://github.com/mailhog/MailHog
142+
[mh_link]: https://github.com/mailhog/MailHog

Diff for: docs/02-development-environments/05-ubuntu-debian-setup.md

+10-21
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,21 @@ We suggest having at least 4 GB RAM and 2 CPU cores.
2828

2929
## Install Discourse Dependencies
3030

31-
As regular user run [this script][linux_script] in terminal, to setup Rails development environment:-
32-
33-
```sh
34-
bash <(wget -qO- https://raw.githubusercontent.com/discourse/install-rails/main/linux)
35-
```
36-
37-
This will install the following new packages on your system:
31+
You will need the following packages on your system:
3832

3933
- [Git][git_link]
40-
- [rbenv][rbenv_link]
34+
- [rbenv][rbenv_link] or [asdf][asdf_link]
4135
- [ruby-build][ruby_build_link]
42-
- [Ruby][ruby_link] (stable)
36+
- [Ruby][ruby_link] (latest stable)
4337
- [Rails][rails_link]
4438
- [PostgreSQL][pg_link]
4539
- [SQLite][sqlite_link]
4640
- [Redis][redis_link]
47-
- [Bundler][bundler_link]
48-
- [MailHog][mg]
41+
- [Node.js][node_link]
42+
- [pnpm][pnpm_link]
43+
- [MailHog][mh_link]
4944
- [ImageMagick][imagemagick_link]
5045

51-
_In case you have any of this package pre-installed and don't want to run the entire script, see the [script][linux_script] and pick the packages you don't have currently installed. The script is fine-tuned for Discourse, and includes all the packages required for Discourse installation._
52-
5346
Now that we have installed Discourse dependencies, let's move on to install Discourse itself.
5447

5548
## Clone Discourse
@@ -64,7 +57,6 @@ _`~` indicates home folder, so Discourse source code will be available in your h
6457

6558
## Setup Database
6659

67-
[details="Already completed by the install script"]
6860
Create role **with the same name as your Linux system username**:
6961

7062
```sh
@@ -141,22 +133,19 @@ Congratulations! You are now the admin of your own Discourse installation!
141133

142134
Happy hacking! And to get started with that, see [Beginner’s Guide to Creating Discourse Plugins](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins/30515).
143135

144-
[linux_script]: https://github.com/discourse/install-rails/blob/main/linux
145136
[git_link]: http://git-scm.com/
146137
[rbenv_link]: https://github.com/sstephenson/rbenv
138+
[asdf_link]: https://asdf-vm.com/guide/getting-started.html
139+
[node_link]: https://nodejs.org/en
147140
[ruby_build_link]: https://github.com/sstephenson/ruby-build
148141
[ruby_link]: https://www.ruby-lang.org/
149142
[rails_link]: http://rubyonrails.org/
150143
[pg_link]: http://www.postgresql.org/
151144
[sqlite_link]: https://sqlite.org/
152145
[redis_link]: http://redis.io/
153-
[bundler_link]: http://bundler.io/
154146
[imagemagick_link]: http://www.imagemagick.org/
155-
[meta]: https://meta.discourse.org/t/developers-guide-to-install-discourse-on-ubuntu/14727
156-
[gh]: https://github.com/techAPJ/discourse-development-ubuntu
157-
[install_guide]: https://github.com/discourse/discourse/blob/master/docs/INSTALL.md
158-
[docker_guide]: https://meta.discourse.org/t/beginners-guide-to-deploy-discourse-on-digital-ocean-using-docker/12156
159-
[mg]: https://github.com/mailhog/MailHog
147+
[pnpm_link]: https://pnpm.io/
148+
[mh_link]: https://github.com/mailhog/MailHog
160149

161150
---
162151

Diff for: docs/02-development-environments/06-windows-10-setup.md

+28-21
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,20 @@ Let’s begin!
2222

2323
## Install Discourse Dependencies
2424

25-
As regular user run [this script](https://github.com/discourse/install-rails/blob/master/linux) in terminal, to setup Rails development environment:-
26-
27-
```sh
28-
bash <(wget -qO- https://raw.githubusercontent.com/discourse/install-rails/master/linux)
29-
```
30-
31-
This will install following new packages on your system:
32-
33-
- [Git](http://git-scm.com/)
34-
- [rbenv](https://github.com/sstephenson/rbenv)
35-
- [ruby-build](https://github.com/sstephenson/ruby-build)
36-
- [Ruby](https://www.ruby-lang.org/) (stable)
37-
- [Rails](http://rubyonrails.org/)
38-
- [PostgreSQL](http://www.postgresql.org/)
39-
- [SQLite](https://sqlite.org/)
40-
- [Redis](http://redis.io/)
41-
- [Bundler](http://bundler.io/)
42-
- [MailHog](https://github.com/mailhog/MailHog)
43-
- [ImageMagick](http://www.imagemagick.org/)
44-
45-
_In case you have any of this package pre-installed and don’t want to run entire script, see the [script](https://github.com/discourse/install-rails/blob/master/linux) and pick the packages you don’t have currently installed. The script is fine-tuned for Discourse, and includes all the packages required for Discourse installation._
25+
You will need the following packages on your system:
26+
27+
- [Git][git_link]
28+
- [rbenv][rbenv_link] or [asdf][asdf_link]
29+
- [ruby-build][ruby_build_link]
30+
- [Ruby][ruby_link] (latest stable)
31+
- [Rails][rails_link]
32+
- [PostgreSQL][pg_link]
33+
- [SQLite][sqlite_link]
34+
- [Redis][redis_link]
35+
- [Node.js][node_link]
36+
- [pnpm][pnpm_link]
37+
- [MailHog][mh_link]
38+
- [ImageMagick][imagemagick_link]
4639

4740
Now that we have installed Discourse dependencies, let’s move on to install Discourse itself.
4841
[/quote]
@@ -507,3 +500,17 @@ Any further issues that show up can be addressed in the future.
507500
---
508501

509502
_Last Reviewed by @SaraDev on [date=2022-06-15 time=19:00:00 timezone="America/Los_Angeles"]_
503+
504+
[git_link]: http://git-scm.com/
505+
[rbenv_link]: https://github.com/sstephenson/rbenv
506+
[asdf_link]: https://asdf-vm.com/guide/getting-started.html
507+
[node_link]: https://nodejs.org/en
508+
[ruby_build_link]: https://github.com/sstephenson/ruby-build
509+
[ruby_link]: https://www.ruby-lang.org/
510+
[rails_link]: http://rubyonrails.org/
511+
[pg_link]: http://www.postgresql.org/
512+
[sqlite_link]: https://sqlite.org/
513+
[redis_link]: http://redis.io/
514+
[imagemagick_link]: http://www.imagemagick.org/
515+
[pnpm_link]: https://pnpm.io/
516+
[mh_link]: https://github.com/mailhog/MailHog

0 commit comments

Comments
 (0)