Project Name: Cypher Game(https://ciphergame.oskarcode.com/)

Update Project Delete Project

Project description

This web app allows you to perform encryption and decryption using a specified key.

Project steps

Add Steps

Step1:Create Cypher models class

Update step Delete step

Step description:

Create the logic of the game with a model class. My model class is:

Step2:Create a view function to create an object based on the class in model and call the functions and attributes of the class.

Update step Delete step

Step description:

My view function is as below:

Step3:Create template to render all the context within my view function

Update step Delete step

Step description:

My template is as below:

Step4:Host it on AWS

Update step Delete step

Step description:

-create virtual environment for the project.
-install all required packages

Step5:Create a gunicorn socket file

Update step Delete step

Step description:

-Use sudo nano /etc/systemd/system/cypher.socket.
- enable the socket

Step6:Create a gunicorn service file

Update step Delete step

Step description:

- use sudo nano /etc/systemd/system/cypher.service
- the directory file is the location of the directory, not the app location( where you can see the app and manage.py)
- ExecStart is the location of the venv/bin

Step7:Create a nginx file

Update step Delete step

Step description:

-make sure add it to enabled
-restart the gunicorn and nginx

Step8:Cloudflare DNS/CDN/ security set up

Update step Delete step

Step description:

- use CNAME