Skip to content

Commit

Permalink
Added contributor info.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwasham committed Apr 22, 2017
1 parent 9e0dd6a commit 827a3d5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ Thanks [@eyedol](https://github.com/eyedol)
## How to run it on local host (Quick Guide)
1. Install dependecies
*Provided by [@devyash](https://github.com/devyash) - [email protected] Reach out to this contributor if you have trouble.*
1. Install dependencies:
1. Install [Python ](https://www.python.org/download/releases/2.7/)
2. Add python as environment variable [windows](http://stackoverflow.com/questions/3701646/how-to-add-to-the-pythonpath-in-windows-7)
3. To install pip, securely download [get-pip.py](https://bootstrap.pypa.io/get-pip.py)
Expand All @@ -100,11 +102,11 @@ Thanks [@eyedol](https://github.com/eyedol)
4. Login using id:USERNAME='admin', PASSWORD='default. Open localhost:5000/initdb
Everytime you wish to run your db just open folder in terminal and run ```python flash_cards.py```
Every time you wish to run your db just open folder in terminal and run ```python flash_cards.py```
## How to run with Docker
*Provided by [@Tinpee](https://github.com/tinpee) - [email protected]*
*Provided by [@Tinpee](https://github.com/tinpee) - [email protected] Reach out to this contributor if you have trouble.*
__Make sure you already installed [docker](https://www.docker.com)__
Expand All @@ -123,6 +125,8 @@ Example: `/home/tinpee/cs-flash-cards/db`, and `cards.db` is inside this folder.
For convenience, if you don't have `cards.db`, this container will auto copy a new one from `cards-empty.db`.
---
### How to backup data ?
We just need store `cards.db` file, and don't need any sql command.
- If you run container with `-v <folder_db>:/src/db` just go to `folder_db` and store `cards.db` anywhere you want.
Expand Down

0 comments on commit 827a3d5

Please sign in to comment.