Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/foxy4096/vitary
😺 A social media made with Django, Bulma and HTMX. 🎉
https://github.com/foxy4096/vitary
bulma bulma-css django htmx javascript jquery python python3 wsgi
Last synced: 2 months ago
JSON representation
😺 A social media made with Django, Bulma and HTMX. 🎉
- Host: GitHub
- URL: https://github.com/foxy4096/vitary
- Owner: foxy4096
- License: bsd-3-clause
- Created: 2021-12-01T12:53:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T16:10:46.000Z (7 months ago)
- Last Synced: 2024-10-14T00:42:04.059Z (2 months ago)
- Topics: bulma, bulma-css, django, htmx, javascript, jquery, python, python3, wsgi
- Language: CSS
- Homepage: http://bit.ly/vitary
- Size: 16.4 MB
- Stars: 18
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Vitary
A simple social media made with Django
[![CodeQL](https://github.com/foxy4096/Vitary/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/foxy4096/Vitary/actions/workflows/codeql-analysis.yml)
## Installation :hammer_and_wrench:
Get the source code 💻
```
git clone https://github.com/foxy4096/Vitary.git
```Go the the dir 📁
```
cd Vitary
```Add the enviroment variables :gear:
In Powershell or terminal 💻
```
touch Vitary/.env
```In `.env` add the following variables ➕
```
DEBUG=True or False
EMAIL_ADDRESS [Optional if DEBUG is True]
EMAIL_PASSWORD [Optional if DEBUG is True]
SITE_ID [Optional if DEBUG is True]
SECURE_SSL_REDIRECT (Bool) [Optional if DEBUG is True]
CSRF_COOKIE_SECURE (Bool) [Optional if DEBUG is True]
```Get the Google Drive JSON key from [Here](https://django-googledrive-storage.readthedocs.io/en/latest/)
Rename it to `GOOGLE_DRIVE_KEY_FILE.json` and Put it in the Base Directory (At the ame level where the `manage.py` is located)
Make a virtualenv 📡
```
pip install virtualenv
```and
```
virtualenv venv
```Install the dependencies 🔨
```
pip install -r req.txt
```Make Migrations 💿
On Windows:
```
python manage.py makemigrations
```On \*nix systemm:
```
python3 manage.py makemigrations
```Migrate the database 🏃♂️
On Windows:
```
python manage.py migrate
```On \*nix systemm:
```
python3 manage.py migrate
```Create the superuser 🤵
On Windows :
```
python manage.py createsuperuser
```On \*nix systemm:
```
python3 manage.py createsuperuser
```Run the server 🚀
On Windows:
```
python manage.py runserver
```On \*nix systemm:
```
python3 manage.py runserver
```
## Tools 🔧
- [Python](https://python.org) the programming language
- [Git](http://git-scm.com) Version Control System
- [Visual Studio Code](https://code.visualstudio.com) Free source code editor