Skip to content

Instantly share code, notes, and snippets.

View isyedaliraza's full-sized avatar
🙏
Whoever prolongs his desire ruins his actions - Imam Ali a.s

Syed Ali Raza isyedaliraza

🙏
Whoever prolongs his desire ruins his actions - Imam Ali a.s
  • Baramej® Business & Digital Technology Center L.L.C
  • Portlaoise, Ireland
  • 03:49 (UTC)
View GitHub Profile
@leegraham25
leegraham25 / apache_react_django_config.md
Last active April 13, 2025 05:11
Apache Configuration for React and Django Rest Framework

Setting Up Apache to Run a React Frontend and a Django Rest Framework Backend on a Single Machine

This gist should get React and Django Rest Framework running on debian with apache as the HTTP server.

Step 1 - Install Apache and UFW

First we need to install apache2 and apache2-dev (for compiling mod_wsgi), and set the firewall to allow apache with ufw.

sudo apt upgrade
sudo apt install apache2 apache2-dev ufw
sudo ufw allow 'Apache Full'