Files
thrillwiki_django_no_react/docs/2024-02-14/changes.md
2024-10-28 17:09:57 -04:00

1.5 KiB

Changes Made - February 14, 2024

Reactivated Removal

  • Removed all reactivated-related files and configurations
  • Cleaned up old client directory and unused configuration files

Frontend Updates

  • Updated to latest versions of all packages including Vite, React, and Material UI
  • Configured Vite for optimal development experience
  • Set up proper CORS and CSRF settings for Vite development server
  • Improved build configuration with proper chunking and optimization
  • Removed webpack configuration in favor of Vite

Development Environment

  • Created new development startup script (dev.sh)
  • Updated frontend environment variables
  • Configured HMR (Hot Module Replacement) for better development experience
  • Set up proper proxy configuration for API and media files

Configuration Updates

  • Updated Django settings to work with Vite development server
  • Added proper CORS and CSRF configurations for development
  • Improved authentication backend configuration

How to Run Development Environment

  1. Ensure PostgreSQL is running and database is created
  2. Set up your REMOVED file with necessary environment variables
  3. Run migrations: python manage.py migrate
  4. Install frontend dependencies: cd frontend && npm install
  5. Start development servers: ./dev.sh

The development environment will start both Django (port 8000) and Vite (port 5173) servers and open the application in your default browser.

Next Steps

  • Set up Netlify configuration for frontend deployment
  • Configure production environment variables
  • Set up CI/CD pipeline