simple git style hotel management tool
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
CMakeLists.txt
Design.txt
FindCryptoPP.cmake
README.md
book.cpp
cgi.cpp
client.cpp
gc.cpp
hm.hpp
hotelmgr.kdev4
httpd.cpp
httpfile.cpp
init.cpp
main.cpp
pch.cmake
pch.hpp
roomid.cpp
shell.cpp
status.cpp
sub.hpp

README.md

#hm - A Command Line Hotel Management Tool

hm usese command syntax very simalier to git.

To create a new hotel database

run

hm init --skel

and edit skel/skel_room.txt

then rerun

hm init [roomlist]

this command can be run multible times.

To add client info

run

hm client add

and fill in the info in the openning editor. you can set your editor by $EDITOR env

To modify client info

run

hm client mod [somerefs]

somerefs is a piese if infomation that can locate the client. Say, nick, phone number ID etc

To book the rooms

run

hm book	[roomlist] by [somerefs] at  [date]

or

hm book	[roomlist] by [somerefs] from [date] to [date]

To check free rooms

run

hm status [date]

or (TO-BE done)

hm list free [date]

To check free rooms with PC ( not avaliable now)

run

hm list free [date] with PC

note that [DBDIR]/rooms/roomid/info should have equipment=PC line

To able to access by web, run

hm httpd --listen