mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-21 23:51:09 -05:00
first commit
This commit is contained in:
37
docs/2024-02-14/changes.md
Normal file
37
docs/2024-02-14/changes.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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 .env 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
|
||||
Reference in New Issue
Block a user