Skip to content

Conversation

@kubijaku
Copy link

@kubijaku kubijaku commented Jun 9, 2025

About

This pull request introduces significant changes to the cruise_literature project, focusing on enhancing the application's infrastructure, removing deprecated files, and improving configuration for Docker-based deployment. The most important changes include the addition of Docker support for backend and frontend services, removal of unused scripts and files, and updates to settings and environment configurations.

Infrastructure and Deployment Enhancements:

Addition of Docker Support: Introduced Dockerfiles and a docker-compose.yml file to streamline deployment of backend, frontend, and supporting services like PostgreSQL and Elasticsearch. This includes profiles for development (dev), production (prod), and additional services (search, es). ([1], [2])
Entrypoint Script for Backend: Added entrypoint.sh to handle database migrations, load initial data, and start the Django backend server. (src/cruise_literature/entrypoint.shR1-R29)

Codebase Cleanup:

Removal of Deprecated Scripts: Deleted unused scripts for data processing (get_AMiner.py, filter_AMiner.py, concept_rate.py) and their associated README files. ([1], [2], [3], [4])
Simplification of docker-compose.yml in Backend: Updated the backend's Docker configuration to use a unified Dockerfile instead of search_app.Dockerfile. (src/backend/docker-compose.ymlL11-R10)

Frontend changes

UI rework: ui is consistant across all pages making it future-proof and easy to work with. This is due to introduction of tailwind.css for styling components. Custom colours were defined in tailwind.config file and applied, which makes it easily changeable if needed.
Dark mode: we introduced dark mode to the ui design which is applicable by the header toggle

Configuration Updates:

Environment Variables for PostgreSQL: Updated setup_cruise.sh with placeholder values for PostgreSQL credentials and disabled unnecessary installations. (setup_cruise.shL10-R47)

Documentation Improvements:

Expanded Documentation: Added a detailed README for the src directory explaining the application's services, Docker profiles, and deployment instructions. (src/README.mdR1-R51)

HulekJakub and others added 30 commits November 25, 2024 17:47
…workshop-2/initial_frontend

Initial frontend
…workshop-2/4-migrate-to-react-homeabouthtml

4 migrate to react homeabouthtml
…-workshop-2/fixing-react-warnings

Fixes in Base, Home and Footer
…-workshop-2/7-migrate-to-react-pages-users

7 migrate to react pages users
…gic, connected it to frontend, added jwt token refreshing
…-workshop-2/12-implement-authentication-mechanism

made logging in working
…-workshop-2/14-implement-editing-profile-details-frontend-and-new-api-endpoint

implemented profile edition mechanisms
MarcinZ20 and others added 26 commits May 11, 2025 22:42
in order for footer to stick to the bottom, main part of the page
expands thus allowing the correct footer positioning
add colors, and change layout
searchbar as well as the submit button are now coloured properly with
shades of orange
Sign up page is now properly styled with the similar classes as the sign
in page
1. `/frontend` has now separate Dockerfile for development
(`Dockerfile.dev`) and production (`Dockerfile.prod`)
2. docker-compose.yml has now support for all application services
3. docker-compose.yml supports service profiles to smoothly run either
dev or prod environment
README.md files were added in order to provide clear instructions for
running the application in the contenerized environment
search is now divided into list elements with proper styling and
placement
Proper colour handling was applied due to some inconsitancies from
earlier.
also main color has been changed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants