Office space allocation CLI application.
To install this project, follow these steps:
- Create your working environment. example:
virtualenv env
- Git clone this project
git clone https://github.com/mwenda-eric/dojo.git
cd dojo
- Install project dependencies
pip install -r requirements.txt
- Finally run
python app.py
Run nosetests tests --with-coverage --cover-xml
```
create_room <type_room> <room_name>...
add_person <person_name> <FELLOW|STAFF> [wants_accommodation]
reallocate_person <person_name> <new_room_name>
print_allocations [-o=filename]
print_unallocated [-o=filename]
print_room <room_name>
load_people
q
```
Creates a new room with
Adds a person and randomly assigns them to aroom
reallocates person to a diffrent room
prints all allocations. providing option -o
writes outputs to a file
prints all unallocations. providing option -o
writes outputs to a file
prints all rooms and their members
loads poeple from a file
quits application
- eric mwenda