We are a leading motorbike rental company that offers a diversified and exceptional range of two-wheelers on rent. We are regarded as one of the best bike rental companies in India due to our personalized service and higher commitment levels. We have a huge store of exclusive bikes where riders can choose to ride on an hourly, daily, weekly or monthly basis. You can go on a long ride.
- Frontend: HTML, CSS, JavaScript
- Backend: Django (Python)
All the dependencies and required libraries are included in the file requirements.txt
See here
We invite you to contribute to this project and make it better. Please have a look at Code of conduct first.
🎇 To start contributing, follow the below guidelines: ✨
1. Fork this repository.
2. Clone your forked copy of the project.
git clone https://github.com/<your_user_name>/CityonBikes.git
3. Navigate to the project directory 📁 .
cd CityonBikes
4. Create a new branch.
git checkout -b <your_branch_name>
5. Setup your machine. Overwhelmed about setting up your machine? No worries! We have got you covered!😇✌️. Please head to Installations section below in this README 👇👇
6. Now that you are ready with the setup, perform your desired changes to the code base. 🤩👍
7. Track your changes ✔️
git add .
8. Commit your changes .
git commit -m "Relevant message"
9. Push the committed changes in your feature branch to your remote repo.
git push origin <your_branch_name>
10. To create a pull request, click on compare and pull requests
.
Please ensure you compare your feature branch to the desired branch of the repo you are suppose to make a PR to.
11. Add appropriate title and description to your pull request explaining your changes and efforts done.
12. Click on Create Pull Request
.
13. Voila ❗ You have made a PR to the CityonBikes project 💥 . Sit back patiently and relax while the project maintainers review your PR. Please understand at times the time can vary from a few hours to a few days.
After cloning the repo, run the following commands in the terminal to set up the environment to work on the project.
Make sure you are using Python 3.7 or higher and inside CityonBikes folder.1. Install a virtual environment
$ pip3 install virtualenv
2. Create virtual environment
$ virtualenv env -p python3.7
3. Activate the environment
For Linux:
$ source env/bin/activate
For Windows:
> .\env\Scripts\activate
4. Install the requirements
$ pip install -r requirements.txt
5. Make migrations
$ python manage.py makemigrations
6. Migrate the changes to the database
$ python manage.py migrate
7. Create admin and fill the credentials
$ winpty python manage.py createsuperuser
8. Run the server
$ python manage.py runserver
This will start the project and you can view it on 127.0.0.1:8000
in your browser.
For major changes, you are welcomed to open an issue about what you would like to contribute. Enhancements will be appreciated.