Added Debian Specific Instructions (#10)

Added Debian Specific Instructions to README.md
This commit is contained in:
Rob Elshire 2016-05-13 18:58:58 +12:00 committed by Luka Murn
parent 7a1bae87ad
commit 41966e7f94

View file

@ -22,6 +22,12 @@ The following are minimal steps needed to start sciNote in development environme
6. To start the server, run command `make run`. Wait until the server starts listening on port `3000`. 6. To start the server, run command `make run`. Wait until the server starts listening on port `3000`.
7. Open your favourite browser and navigate to [http://localhost:3000](http://localhost:3000/). Use the seeded administrator account from [seeds.rb](db/seeds.rb) to login, or sign up for a new account. 7. Open your favourite browser and navigate to [http://localhost:3000](http://localhost:3000/). Use the seeded administrator account from [seeds.rb](db/seeds.rb) to login, or sign up for a new account.
### Debian Specific Install Instructions
1. Install Docker and add user 1000 to the docker group as described here [https://docs.docker.com/engine/installation/linux/debian/] (https://docs.docker.com/engine/installation/linux/debian/).
2. Install Docker Compose as described here [https://docs.docker.com/compose/install/] (https://docs.docker.com/compose/install/).
3. Follow Quick Start Guide above as user 1000.
### Docker structure ### Docker structure
The main sciNote application runs in a Docker container called `web`. The database runs in a separate container, called `db`. This database container makes use of a special, persistent container called `dbdata`. The main sciNote application runs in a Docker container called `web`. The database runs in a separate container, called `db`. This database container makes use of a special, persistent container called `dbdata`.