1
.gitignore
vendored
|
@ -2,3 +2,4 @@ legacy/*
|
|||
legacy
|
||||
config/config.yaml
|
||||
config.yaml
|
||||
front_end/images/private/*
|
||||
|
|
|
@ -1,2 +1,26 @@
|
|||
Globals:
|
||||
web_root: 'PLACE ABSOLUTE PATH TO WEB ROOT HERE'
|
||||
# absolute path required
|
||||
web_root: '/var/www/html'
|
||||
# favicon, can take any image type
|
||||
favicon: 'favicon.ico'
|
||||
# domain name, or whatever you want the tab in the browser to say
|
||||
website_title: 'example.com'
|
||||
# the default image shown at the front of the page
|
||||
profile_image: 'my_picture.JPG'
|
||||
# Your name
|
||||
profile_name: 'Jesse'
|
||||
# Quote of any sort you'd like
|
||||
profile_quote: "The internet is great."
|
||||
# Full URL to your github
|
||||
github_URL: 'https://github.com/jessebot'
|
||||
# complete google doc sharing URL, assuming this is public
|
||||
resume_google_doc: 'https://docs.google.com/document/d/blahblahblah'
|
||||
# in your google doc, you can go to download as and right click copy that
|
||||
# URL, or you can host a live copy at another URL
|
||||
resume_pdf_download: 'https://docs.google.com/document/d/blahpdfblahblahblah'
|
||||
resume_docx_download: 'https://docs.google.com/document/d/1t-xBYBxyUbDKUKQFIY1_r0GnjCMIUAyelfnyIhTK2Uc/export?format=docx&id=1t-xBYBxyUbDKUKQFIY1_r0GnjCMIUAyelfnyIhTK2Uc'
|
||||
# this could be social media, other conent, whatever suits you!
|
||||
extra_box_title: "Linux Newbie Class"
|
||||
extra_box_image: "penguin_copy.png"
|
||||
extra_box_link_title: "How To Unix/Linux"
|
||||
extra_box_URL: "http://howtonix.info/"
|
||||
|
|
Before Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 222 KiB |
Before Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 269 KiB |
Before Width: | Height: | Size: 1,010 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 2.8 MiB |
Before Width: | Height: | Size: 237 KiB |
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
# production jessebot.com web routing bottle file
|
||||
# production web routing bottle file
|
||||
|
||||
import bottle
|
||||
from bottle import redirect, request, response, route
|
||||
|
@ -17,8 +17,10 @@ def get_global_variable(global_variable):
|
|||
return txt
|
||||
|
||||
|
||||
# grab web root
|
||||
# Grab site specific information
|
||||
WEB_ROOT = get_global_variable('web_root')
|
||||
TITLE = get_global_variable('web_title')
|
||||
|
||||
# set logging
|
||||
logging.basicConfig(stream=sys.stderr, level=logging.INFO)
|
||||
logging.info("logging config loaded")
|
||||
|
|