Hotel Management System is under development.
- Clone using SSH key for your own good.
- You can refer to this link connecting to Github with SSH keys so that you don't need username and password everytime you perform push or pull request.
- Otherwise use HTTPS but you will need password everytime.
- If you want to install system wide:
sudo pip install -r requirements.txt
- If you want to use
virtualenv
:
- Create a virtual environment as (you can use any name of the environment as you like):
virtualenv -p python3 hms-virtual-env
- Then execute this:
source hms-virtual-env/bin/activate
- The install requirements as:
pip install -r requirements.txt
Note: To deactivate virtualenv
, execute
deactivate
- Go to Hotel-Management-System folder that you cloned before.
- Execute the followings:
python3 manage.py migrate
Then,
python3 manage.py runserver
- This will work if correctly set up.
For more information, visit Django Documentation.
You are supposed to be using linux environment with Python 3. Everything else is simple. The packages mentioned in requirements files are required for deployment especially in heroku.