https://github.com/putuwaw/thesis
Web-Based Balinese Language Text Classification using Multinomial Naive Bayes
https://github.com/putuwaw/thesis
django docker docker-compose flowbite gunicorn linggapy nginx plotly postgres tailwindcss thesis uv
Last synced: 4 months ago
JSON representation
Web-Based Balinese Language Text Classification using Multinomial Naive Bayes
- Host: GitHub
- URL: https://github.com/putuwaw/thesis
- Owner: putuwaw
- License: mit
- Created: 2024-09-05T05:58:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-11T10:21:41.000Z (about 1 year ago)
- Last Synced: 2025-05-11T11:27:03.764Z (about 1 year ago)
- Topics: django, docker, docker-compose, flowbite, gunicorn, linggapy, nginx, plotly, postgres, tailwindcss, thesis, uv
- Language: HTML
- Homepage: https://thesis.putuwaw.my.id
- Size: 3.98 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# thesis
Web-Based Balinese Language Text Classification using MNB.
## Prerequisites
This project is basically a Django app with Tailwind CSS, so you need:
- Python 3.10
- uv
- npm
You can easily take a look into the project using Docker, so optionally you need:
- Docker
- docker-compose
## Installation
1. Clone the repository:
```
git clone https://github.com/putuwaw/thesis.git
```
2. Pull the submodules (thesis-ml). Note that submodules here are using SSH, learn more about setup SSH for GitHub [here](https://docs.github.com/en/authentication/connecting-to-github-with-ssh):
```
git submodules update --init
```
3. Create development env file and change the variable especially for database:
```
cp .env.example .env.development
```
4. Using Django and Tailwind CSS:
Setup environment and install packages
```
uv sync --dev
```
Run Django and watch Tailwind:
```bash
make django-dev
make tw-watch
```
5. You can also use Docker:
If you are using Docker, you don't need to create env.
Run Docker container, migrate database, collect static files:
```
docker compose -f compose.dev.yml up -d --build
docker compose -f compose.dev.yml exec web python manage.py migrate --noinput
docker compose -f compose.dev.yml exec web python manage.py collectstatic --noinput
```
## Acknowledgments
I would like to express my deepest gratitude to all those who have supported and contributed to the completion of this thesis.
- Mr. Cokorda Pramartha as my supervisor, for his guidance and support.
- Balinese language counselor for assisting with data annotation.
- Family, partner, and friends for their encouragement and motivation.