DEV Community

Cover image for πŸŒπŸš€πŸŽ― From Localhost to Cloud ☁️: Next.js, Django, SSL πŸ”’, GitHub Actions πŸš€, DNS| Ultimate Website Deployment Tutorial🌟πŸ”₯✨

πŸŒπŸš€πŸŽ― From Localhost to Cloud ☁️: Next.js, Django, SSL πŸ”’, GitHub Actions πŸš€, DNS| Ultimate Website Deployment Tutorial🌟πŸ”₯✨

Chetan on May 17, 2023

A small request I'm trying to reach 1K GitHub stars for "Bose" - an open source bot development framework I just launched for easily c...
Collapse
 
techwithdavid profile image
David Fabusuyi

Saved. Thanks for sharing!

Collapse
 
chetanam profile image
Chetan

Thanks it means a lot to Me.

Collapse
 
techwithdavid profile image
David Fabusuyi

What are some of the resources you'll recommend for learning all these?

Collapse
 
chetanam profile image
Chetan

Which Technologies you are interested to learn?

Thread Thread
 
techwithdavid profile image
David Fabusuyi

Next.js, Django, Docker & kubernetes and GitHub actions

Thread Thread
 
chetanam profile image
Chetan • Edited

Django: Mosh Hamedani Django Course https://www.youtube.com/watch?v=rHux0gMZ3Eg&pp=ygUMZGphbmdvIG1vc2gg [Paid]
Docker: Mosh Hamedani Docker Course https://www.youtube.com/watch?v=pTFZFxd4hOI&pp=ygUMZG9ja2VyIG1vc2gg [Paid]
Next.js: Docs nextjs.org/learn/foundations/about... [Free]
GitHub Actions: It is just YAML Manifest. Read many YAMLs written by people at https://github.com/search?q=path%3A.github%2Fworkflows+language%3AYAML&type=Code&ref=advsearch&l=YAML and you are good to go. [Free]

Thread Thread
 
techwithdavid profile image
David Fabusuyi

Thanks, Chetanam! Followed you!

Collapse
 
jacobw1986 profile image
Jacobw1986

A lot of useful information.__

Collapse
 
chetanam profile image
Chetan

Dhanyawad!

Collapse
 
jacobw1986 profile image
Jacobw1986

What?

Thread Thread
 
chetanam profile image
Chetan

Thanks

Collapse
 
mc-stephen profile image
Stephen Michael

This deserved more read time and engagement, thanks for such great article

Collapse
 
chetanam profile image
Chetan

Dhanyawad!

Collapse
 
darklight147 profile image
Mohamed Belkamel

Great post, though i have some suggestions to improve the section where you deploy in the github actions, as the current version would imply having downtime and not a rolling update , to improve i would go for either a kubectl set image deployment/<your-deployment> --image=IMAGE:tag or just remote the kubectl delete deployment backend-depl || true from the deploy version as kubernetes would handle removing the old replicaset when it sees that image has changed from the update images step in the new applied yaml

Collapse
 
bcouetil profile image
Benoit COUETIL πŸ’«

Thanks for sharing the whole stack, we rarely see that πŸ‘

You show a letsencrypt certificate without the cert-manager installation, if I'm not mistaken.

At the end, you should not define your work as 'brilliant', self-kissing can gives
a bad impression. And even if it is not the case, it is subjective, it does not give any useful information : of course you won't say it is bad πŸ˜‰

Collapse
 
chetanam profile image
Chetan

I appreciate your thoughts.
Also, we are using cert-manager for SSL Certificates.

Collapse
 
vishal8888a8 profile image
vishal giri

very detailed guide, though there are many errors one can face while actually deploying

Collapse
 
chetanam profile image
Chetan

Have you faced some?

Collapse
 
ririchi2 profile image
Richi Pineda

cool, i might try it in my freetime! Thanks

Collapse
 
chetanam profile image
Chetan

Dhanyawad!