mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 10:51:09 -05:00
1.5 KiB
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
- Ensure PostgreSQL is running and database is created
- Set up your REMOVED file with necessary environment variables
- Run migrations:
python manage.py migrate - Install frontend dependencies:
cd frontend && npm install - 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