-
Notifications
You must be signed in to change notification settings - Fork 0
Preparation for prod #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Preparation for prod #133
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
There is some errors with the static files as i havent decided on the actual path for serving on the hosting vm. |
dct0
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Few comments relating from the dev perspective
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't remove these, you can just open the repo without the dev container
| RUN chmod +x /entrypoint.sh | ||
| CMD ["/entrypoint.sh"] | ||
|
|
||
| # TODO: Production No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typically a prod build would have nextjs build as "standalone" and that would be then copied inside the container, but this should be fine for most purposes
- Added env variable from project root in django settings.py - Brought .env.examples back to life
Updated from django files as per Yunho's recs to fix some of the issues occuring while building
Frontend deploys successfully! Backend in progress: Trying to get it to createsuperuser. command doesnt work manually in the container on vps atm.
Change Summary
Modified codebase for production.
Main changes:
Change Form
Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.
Other Information
NO