zipperer / migrate_database_with_michael

0 stars 0 forks source link

Describe process to make site for application #51

Open zipperer opened 4 months ago

zipperer commented 4 months ago

50 describes a web site. One of the pages displays

Book, Chapter, Verse Entries
Message 3192
Predestination: Increase Faith- “As A Grain Of Mustard Seed”- Jesus Kills The Fig Tree- “Say To This Mountain”
Timestamp           | Book     | Chapter | Verse
------------------------------------------------
2014-01-05 00:01:49 | Romans   | 8       | 29
...

Write on this issue the process to get this site up.

zipperer commented 4 months ago

Short version:

Website

Went to porkbun. Bought domain zipperer.dev. It will probably auto-renew.

Went to cloudflare. Added zipperer.dev. Got new nameservers.

Went to porkbun and replaced nameservers there with the nameservers from Cloudflare.

Went to cloudflare. Removed DNS entries for A and CNAME. The ones I removed are stored in a local file, and I can retrieve them if needed.

Went to cloudflare zero trust. Made an account. Network > Tunnels. Made a tunnel. Ran tunnel from debian package on dell-tower ubuntu desktop.

Pointed tunnel at localhost:80 on ubuntu dell-tower.

Started nginx on ubuntu dell-tower.

Followed steps to serve static content from /data/www/index.html

Followed steps to direct traffic to flask app

domain and cloudflare video tutorials

How To Set Up Cloudflare Tunnels For Self-hosted Services - Filamore Tech Setting Up Cloudflare Argo Tunnel Free on Unraid - Ibracorp and others from Ibracorp channel

nginx and "proxy" (i.e. send traffic to another place -- e.g. send traffic to other server at port)

https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xvii-deployment-on-linux https://blog.miguelgrinberg.com/post/running-your-flask-application-over-https

zipperer commented 4 months ago

Pasting scratch notes from elsewhere:

Porkbun: I made an account. See BitWarden for details. I bought domain zipperer.dev for 10$.

Cloudflare: I made an account. See BitWarden for details. I added site zipperer.dev -- this gave me nameservers to use.

Porkbun: I replaced the nameservers for zipperer.dev with the nameservers cloudflare gave me.

Cloudflare: I deleted the DNS entries of type A and CNAME.

Cloudflare: I went to Zero Trust area.

Ubuntu desktop: Run nginx. Follow guide at https://nginx.org/en/docs/beginners_guide.html.

server {
    location / {
        root /data/www;
    }

    location /images/ {
        root /data;
    }
}

various tabs:

https://www.fullstackpython.com/flask.html https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xvii-deployment-on-linux https://blog.miguelgrinberg.com/post/running-your-flask-application-over-https/page/0#comments https://nginxproxymanager.com/guide/ https://nginx.org/en/docs/ https://search.brave.com/search?q=ngnix+subdomain&source=desktop https://stackoverflow.com/questions/17568981/nginx-two-subdomain-configuration https://nginx.org/en/docs/http/server_names.html#virtual_server_selection https://login.tailscale.com/admin/machines

https://www.youtube.com/watch?v=l_bphrDOjNY - How To Set Up Cloudflare Tunnels For Self-hosted Services - Filamore Tech

https://www.youtube.com/watch?v=RQ-6dActAr8 - Setting Up Cloudflare Argo Tunnel Free on Unraid - Ibracorp <- see other Ibracorp videos

https://www.plex.tv/ https://www.tomsguide.com/reference/what-is-plex https://www.tomsguide.com/us/bittorrent-how-to-guide-torrent,review-2429.html https://publicdomainmovie.net/ https://www.makeuseof.com/how-to-share-plex-library/ https://support.plex.tv/articles/friends/ https://www.reddit.com/r/PleX/comments/1600tu5/comment/jxk5q6g/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button