Documentation

Installation and Setup Guide For DropIn Event Platform.

Setting up your server

Important: Please ensure you have SSH access to your server before proceeding.

							
							
					[Unit]
Description=gunicorn socket

[Socket]
ListenStream=/run/gunicorn.sock

[Install]
WantedBy=sockets.target				
			
							
							
					[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=network.target

[Service]
User=root
Group=www-data
WorkingDirectory=/home/eventapp/event-platform
ExecStart=/home/eventapp/eventenv/bin/gunicorn \
          --access-logfile - \
          --workers 3 \
          --bind unix:/run/gunicorn.sock \
          app.wsgi:application

[Install]
WantedBy=multi-user.target				
			
							
							
					server {
    listen 80;
    server_name yourdomaingoeshere.com;
    client_max_body_size 120M;

 location = /favicon.ico { access_log off; log_not_found off; }
    location /static/ {
        root /home/eventapp/event-platform;
    }
 location /media/ {
	root /home/eventapp/event-platform;

 }
location / {
        include proxy_params;
        proxy_pass http://unix:/run/gunicorn.sock;
    }
}				
			

Important: Its always highly recommended that you install an SSL on any web application. Visit this Digital Ocean tutorial to learn how: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-22-04