Skip to main content

Emoticons server using Django

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

emodjis-0.4.0.tar.gz (13.7 kB view hashes)

Uploaded Source

Built Distribution

emodjis-0.4.0-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page