Skip to the content.

Tech Talk notes for deployment

tech talk notes

deployment tech talk notes

  • everyone should be able to login, passwords are the same
  • DNS: domain name service, maps a website name to an IP address
  • NS: Name service, service providers connect people to ips with a “database”
    1. Create record: use flask address, put into value. Name of project in Record Name
    2. go to nginx_file in backend, rename to frostbyte.stu.nginx_file, this tells us what our subdomain is
    • server_name change from flask 2025 to frostbyte.stu
    • Change everywhere you see the domain flask2025.stu.nighthawkcodingsociety.com
    • nginx_file is a listener to the internet, it takes the server name and maps it to the machine localhost port
      1. Dockerfile
    • match python version
    • Docker is a container, similar to venv
    • Docker creates a virtual environment to store dependencies
    • use development instead of production for ENV FLASK_ENV=
      1. Docker-compose.yml
    • Change image to frostbyte
    • Change ports, they should be the same
    • put your database into the instance directory, database is seperate from virtual machine
      1. Cockpit
    • in terminal first type ls
    • then git clone the wanted repository
    • rm -rf deletes a repository
    • git clone, repository, then the desired name to change name
    • next steps
      • cd into our own repository
      • docker-compose down
      • docker ps
      • docker-compose build

symbolic link notes

My job as a backend admin engineer

  • open the backend flask site and design it
  • incorporate admin functions