Add markdown codehighlight for bash script
Removed unwanted changes
This commit is contained in:
parent
dc581c0cc7
commit
abf5ce1aa7
@ -58,19 +58,24 @@ In addition to that, Rails also comes with:
|
|||||||
|
|
||||||
1. Install Rails at the command prompt if you haven't yet:
|
1. Install Rails at the command prompt if you haven't yet:
|
||||||
|
|
||||||
|
```bash
|
||||||
$ gem install rails
|
$ gem install rails
|
||||||
|
```
|
||||||
|
|
||||||
2. At the command prompt, create a new Rails application:
|
2. At the command prompt, create a new Rails application:
|
||||||
|
|
||||||
|
```bash
|
||||||
$ rails new myapp
|
$ rails new myapp
|
||||||
|
```
|
||||||
|
|
||||||
where "myapp" is the application name.
|
where "myapp" is the application name.
|
||||||
|
|
||||||
3. Change directory to `myapp` and start the web server:
|
3. Change directory to `myapp` and start the web server:
|
||||||
|
|
||||||
|
```bash
|
||||||
$ cd myapp
|
$ cd myapp
|
||||||
$ bin/rails server
|
$ bin/rails server
|
||||||
|
```
|
||||||
Run with `--help` or `-h` for options.
|
Run with `--help` or `-h` for options.
|
||||||
|
|
||||||
4. Go to `http://localhost:3000` and you'll see the Rails bootscreen with your Rails and Ruby versions.
|
4. Go to `http://localhost:3000` and you'll see the Rails bootscreen with your Rails and Ruby versions.
|
||||||
|
Loading…
Reference in New Issue
Block a user