Skip to content

Commit ef6b991

Browse files
author
Dan Lynn
committed
Updated README with .bash_history
1 parent 7f7d776 commit ef6b991

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ember-project
99
bash
1010
ember
1111
serve
12+
.bash_history
1213
```
1314

1415
The `docker-compose.yml` is configured to use the [danlynn/ember-cli](https://cloud.docker.com/u/danlynn/repository/docker/danlynn/ember-cli) docker image from dockerhub.
@@ -43,6 +44,7 @@ The `bash`, `ember`, and `serve` commands are [shortcuts](#shortcuts) for perfor
4344
bash
4445
ember
4546
serve
47+
.bash_history
4648
```
4749

4850
Verify that the "danlynn/ember-cli:latest" found in docker-compose.yml is using the ember version that you want to use. Otherwise, change it to something like "danlynn/ember-cli:3.8.1".
@@ -68,7 +70,7 @@ The `bash`, `ember`, and `serve` commands are [shortcuts](#shortcuts) for perfor
6870

6971
Three super useful shell commands are included in the project directory: `./bash`, `./ember`, `./serve`. These shortcut commands invoke their corresponding command within the ember docker container specified in the `docker-compose.yml` file. Note that you MUST type the `./` in front of each command in order to invoke the shortcuts in the project directory instead of a corresponding command installed on your system.
7072

71-
+ `./bash` - open a bash shell in the ember docker container where you can pretty much poke around and do anything you would normally do on the command line. Just type `exit` or hit [ctrl-d] to exit the docker container shell and return to your local command line.
73+
+ `./bash` - open a bash shell in the ember docker container where you can pretty much poke around and do anything you would normally do on the command line. Note that the history of your bash commands get persisted back into your project's .bash_history file so that you can up-arrow to previous commands on subsequent invocations of the `./bash` shortcut. Just type `exit` or hit [ctrl-d] to exit the docker container shell and return to your local command line.
7274

7375
```
7476
ember-project$ ./bash

0 commit comments

Comments
 (0)