-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6599bcb
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Room_allocator [![Build Status](https://travis-ci.org/andela-pwanjiru/Room_allocator.svg?branch=feature-review)](https://travis-ci.org/andela-pwanjiru/Room_allocator) | ||
[![Coverage Status](https://coveralls.io/repos/github/andela-pwanjiru/Room_allocator/badge.svg?branch=feature-review)](https://coveralls.io/github/andela-pwanjiru/Room_allocator?branch=feature-review) | ||
|
||
|
||
### Description | ||
|
||
This is a system used to allocate offices and living spaces at Amity to Andela employees. | ||
|
||
### Setting up the program : | ||
|
||
|
||
Clone the repo | ||
|
||
```bash | ||
git clone https://github.com/andela-pwanjiru/Room_allocator.git | ||
``` | ||
|
||
### How to run | ||
|
||
* To view the allocated offices | ||
```bash | ||
python app.py --offices | ||
``` | ||
|
||
* To view the allocated livingspaces | ||
```bash | ||
python app.py --living | ||
``` | ||
|
||
* To view members in an office | ||
```bash | ||
python app.py --get office | ||
``` | ||
|
||
* To view members in a living space | ||
```bash | ||
python app.py --get living | ||
``` | ||
|
||
* To view the people not allocated offices | ||
```bash | ||
python app.py --show employees | ||
``` | ||
|
||
* To view all fellows without a livingspace. | ||
```bash | ||
python app.py --show fellows | ||
``` | ||
|
||
### How to run tests: | ||
```bash | ||
nosetests | ||
``` |