Commit f10ebe33 authored by John Noel's avatar John Noel

Update README.md

parent f8e35d9b
......@@ -23,14 +23,39 @@ cd sample_app
chmod +x start
```
* Make sure to re-initialize own Git repository
```bash
rm -rf .git
git init
```
* Build and start Docker containers
```bash
docker-compose build
docker-compose up
```
**Note**: During the first run, this will take a while. Proceed with the next steps ONLY after a similar message shows up.
```bash
sample_app_web_1 exited with code 0
```
* Run this command to identify the current directory
```bash
pwd
```
**Note**: Take note of output of this command. This shall serve as an input value to the next command.
* Open another Terminal (Mac/Unix) / Powershell (Windows).
* Go inside the project directory.
```bash
cd <command output of the previous command>
```
* Open another Terminal (Mac/Unix) / Powershell (Windows)
* Stop Docker containers
```bash
......@@ -44,7 +69,7 @@ docker-compose run web rails new . --force --database=postgresql
```
**Notes**: You can remove ``--database=postgresql`` if a different database engine will be used.
* Start again Docker containers
* In one of the two opened Terminal (Mac/Unix) / Powershell (Windows), start again Docker containers
```bash
docker-compose up
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment