emodjis
Emojis is a work inspired from custom-emoji-server with the objective of using our Slack emoticons into Teams. The backend is only a part of the project and more is going on to use the service in Teams on the frontend side.
Dependencies
- Django for fast app development
- Django Rest Framework for APIs
- DRF Spectacular for API documentation
Install
pip install emodjis
Configure for development
settings.py
Add the following values to INSTALLED_APPS
[
"rest_framework",
"django_filters",
"drf_spectacular",
"corsheaders",
"emodjis",
]
Set SPECTACULAR_SETTINGS and REST_FRAMEWORK in your settings.
environment variables
Set the following environment variables (you can use a .env file)
SERVER_URL=http://127.0.0.1:8000
CORS_ALLOWED_ORIGINS=http://127.0.0.1:8000
CSRF_TRUSTED_ORIGINS=http://127.0.0.1:8000
DB_ENGINE=django.db.backends.sqlite3
DB_NAME=emojis.sqlite3
DB_HOST=
DB_USER=
DB_PASSWORD=
DB_PORT=
DEBUG=True
ALLOWED_HOSTS=127.0.0.1
Configure for production
Add emodjis to your INSTALLED_APPS migrate and collect static files.
Metadata
Release files for emodjis 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| emodjis-0.5.0.tar.gz | 14.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| emodjis-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.4 kB
Release files / emodjis-0.5.0.tar.gz
| Download URL | emodjis-0.5.0.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05995b1ebf261540caddf263a38f1f410c3ded3e7a2e7ab2abe7e4da7b7386ed
|
|
BLAKE2b-256 checksum How to use checksums |
4cc0b780880fb173b424d98650a098edd5927f9f700fd351b37621235734a068
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.11.1 CPython/3.11.6
|
Release files / emodjis-0.5.0-py3-none-any.whl
| Download URL | emodjis-0.5.0-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6a9d3b43edae0eb8c8a79ef18c451fbc6c18b84ac33dcdbe661ec5c502e877a
|
|
BLAKE2b-256 checksum How to use checksums |
3fb4452e518f0cfbe0a3ddffbaad07c06a657adbc2ae663fc6148a555f072a93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.11.1 CPython/3.11.6
|