This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Vue.js - Demo 01</title> | |
| <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> | |
| </head> | |
| <body> | |
| <div id="app"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pymongo import MongoClient | |
| import sys | |
| client = MongoClient('localhost', 27017) | |
| db = client.students | |
| grades = db.grades | |
| def find(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream djangoServer { | |
| server yourdomainorip:80; | |
| } | |
| server { | |
| listen 80; | |
| server_name yourdomainorip:80; | |
| root /home/myuser/django_projects/demo_project/demmo/; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [program:<proj name>] | |
| command = /home/<me>/public/<vname>/bin/gunicorn_start | |
| user = <me> | |
| stdout_logfile = /home/<me>/public/<vname>/logs/gunicorn_supervisor.log | |
| redirect_stderr = true |