This is a Django Hotel Management System
##Steps to get started with the software
-
Clone the repo or download code in zip file
-
Open the folder in a code editor like VSCode, it will look like this -
-
Run
pip install -r requirements.txt
to install all the libraries from "requirements.txt". You can see the last command in the image above 👆 -
After the
pip install -r requirements.txt
is done it will look something like this- -
Create a .env file in your "HMS" folder.
*Now since we are using environment variables from the beginning here, so that the application remains flexible and you can deploy easily without much HARD code to change -
Make migrations and migrate. Run these commands
python manage.py makemigrations python manage.py migrate
-
Now run either one of the following commands to start the development server.
python manage.py runserver django r
Now you should have the server running on - http://127.0.0.1:8000/
- Now you need to create a superuser to access the admin panel. Run one of the following commands -
python manage.py createsuperuser django csu
- Open admin panel: http://127.0.0.1:8000/admin
- Create Room Categories and Rooms
- Start using the app! You can use the Stripe features by creating a stripe account and putting in the client id and secret environment variables.
- Cheers! Thats all there is to it
Thanks for using my repository, if you find any bugs, you can raise an issue. If you would like to help me make it better, I will very much appreciate your PR. Thank you :)
My Web Developer Portfolio - https://darshandhabale.com I have updated this portfolio with my latest neo-brutalism and hand drawn design.