Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.51 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.51 KB

Easy Events

Introduction

Easy Events is a simple event organization platform that allows event organizers to set up events and participants to join those.

The organizers create and manage their events through an SPA written in Typescript using SvelteKit and Carbon Design System as it's UI framework.

The participants use a simple Django based interface designed with TailwindCSS using Django Tailwind.

Usage

The easiest way to run this project is to use Docker compose. Fill out an .env file with the following required variables (example values are for a simple local deployment):

API_HOST=http://localhost:8000
SPA_HOST=http://localhost:3000
DB_PASS=password1
DB_USER=user

and then run Docker compose:

docker compose up -d

On the first start, it is necessary to run the migrations:

docker compose exec api python manage.py migrate --noinput

You will also need a superuser to manage event organizers:

docker compose exec api python manage.py createsuperuser

After you have created a superuser, a event_organizer group must be created (users in this group are the only ones that can create events in the SPA)

Currently, users need to be added manually to the event_organizer group. This is to prevent random users from creating events. In the future, the app may be extended with a more automated approach.