mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 16:51:07 -05:00
38 lines
1.5 KiB
Markdown
38 lines
1.5 KiB
Markdown
# 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
|