https://github.com/saadmairaj/django-rate-your-review
Write a review & get a rating on it 🐾
https://github.com/saadmairaj/django-rate-your-review
django django-application keras-tensorflow python tensorflow
Last synced: 2 days ago
JSON representation
Write a review & get a rating on it 🐾
- Host: GitHub
- URL: https://github.com/saadmairaj/django-rate-your-review
- Owner: Saadmairaj
- Created: 2021-03-29T19:32:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-23T12:44:04.000Z (almost 4 years ago)
- Last Synced: 2025-06-06T00:41:37.765Z (4 months ago)
- Topics: django, django-application, keras-tensorflow, python, tensorflow
- Language: Python
- Homepage:
- Size: 72.7 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-rate-your-review
[](https://www.codefactor.io/repository/github/saadmairaj/django-rate-your-review/overview/master)
An online application that will give a rating to your reviews.
![]()
![]()
## Requirement
Install all the requirements with [requirements.txt](https://github.com/Saadmairaj/django-rate-your-review/blob/master/requirements.txt) with the command
```bash
pip install -r requirements.txt
```Main packages used in the application are:
- Django
- django-crispy-forms
- tensorflow## Installation
Install and run the server
1. Clone the repository.
2. Create a virtual environment in the cloned directory with the following command:
```bash
$ python3 -m venv env
```Note: If you get an error saying venv doesn't exist then install venv first with command [`pip install virtualenv`](https://pypi.org/project/virtualenv/).
3. After creating the virtual environment, activate it with command:
```bash
$ source ./env/bin/activate
```4. Now install the requirements into the virtual environment `evn` with command:
```bash
$ pip install -r requirements.txt
```5. Create migrations and migrate with
```bash
$ python manage.py makemigrations
$ python manage.py migrateOperations to perform:
Apply all migrations: admin, auth, contenttypes, review, sessions
Running migrations:
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying auth.0012_alter_user_first_name_max_length... OK
Applying review.0001_initial... OK
Applying review.0002_auto_20210329_0722... OK
Applying review.0003_auto_20210329_0726... OK
Applying review.0004_review_last_update... OK
Applying review.0005_auto_20210329_1901... OK
Applying review.0006_consent... OK
Applying review.0007_auto_20211123_0940... OK
Applying sessions.0001_initial... OK
```6. Create superuser with
```bash
$ python manage.py createsuperuserUsername (leave blank to use 'saad'): admin
Email address: admin@gmail.com
Password:
Password (again):
Superuser created successfully.
```6. After installing all the requirements we are set to go! Just go run the server with the following command
```bash
$ python manage.py runserver
```