Please enable JavaScript.
Coggle requires JavaScript to display documents.
PythonSite (Initialization (AWS VPC, EC2 & RDS, Install apache2, wsgi,…
PythonSite
Initialization
AWS VPC, EC2 & RDS
Install apache2, wsgi, flask
Mkdir and init py
Config Apache & wsgi
Restart apache2 and a2ensite your site
RDS - Create a MysQL database and connect with workbench
connect: mysql -h semheroes.ce99lycgy3i9.ap-northeast-1.rds.amazonaws.com -P 3306 -u SEMHeroes -p
ssh -i "SEMHeroes.pem"
ubuntu@13.115.245.205
To Do List
Blog page template :check:
Add forget pwd :check:
Add about me
Add comment :check:
Add Search Bar
Add Thumb up
Add reply func :check:
Flask
{{ }} for variables, {} for logic
Use {% block body %} {% endblock %} for blocks
Use {% for i in items %} {% endfor %} for forloop
{% extends "header.html" %}
{% with messages = get_flashed_messages() %}
Directory
wsgi
site directory
/static
icon
css
js
fonts
templates
_init.py
Util
Crontab -e