mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
added new sample photos, removed more personal data, added more sample comfigs, updated readme
This commit is contained in:
parent
872509bc85
commit
3be745557e
6 changed files with 42 additions and 12 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -3,3 +3,6 @@ legacy
|
|||
config/config.yaml
|
||||
config.yaml
|
||||
front_end/images/private/*
|
||||
front_end/images/defcon23.JPG
|
||||
front_end/images/swag.gif
|
||||
front_end/images/favicon_jessebot.ico
|
||||
|
|
38
README.md
38
README.md
|
@ -1,10 +1,36 @@
|
|||
bootstrap_bottle
|
||||
================
|
||||
tiny_personal_website
|
||||
=====================
|
||||
|
||||
Basic bottle driven website with a bootstrap frontend.
|
||||
This is a Python based CMS for a small personal website. The back end uses
|
||||
the bottle web framework and the front end is bootstrap. YAML is used for site
|
||||
specific configurations.
|
||||
|
||||
Configuration stored in confg/config.yaml.sample
|
||||
|
||||
The website this is based off of is located at http://jessebot.com
|
||||
Setup
|
||||
-----
|
||||
|
||||
1. Clone this github repo into your desired webroot.
|
||||
|
||||
2. You can configure everything (e.g. the webroot absolute path, your photo,
|
||||
quote, etc) by renaming `config/config.yaml.sample` to `config.yaml` and
|
||||
replacing all the sample data with your own real data.
|
||||
|
||||
3. The website assumes you're running on a Linux server with apache. I use the
|
||||
[mod_wsgi](https://github.com/GrahamDumpleton/mod_wsgi) apache module to
|
||||
deliver this content.
|
||||
..* In `config/example.com.conf` I have an example apache
|
||||
virutal host config. I recommend creating a special user and group for this
|
||||
website to run as.
|
||||
..* There is also a mandatory `config/wsgi.conf` you'll need to put in your
|
||||
apache config. You may also need to modify permissions for the socket file if
|
||||
you are running CentOS/RHEL, which will live in `/var/run/http`.
|
||||
|
||||
4. All changes to HTML, CSS, JS, Python, or your core YAML will require an
|
||||
apache restart.
|
||||
|
||||
|
||||
Sample Site
|
||||
-----------
|
||||
|
||||
The website this is based off of is http://jessebot.com
|
||||
|
||||
The socket file (CentOS/RHEL) is in /var/run
|
||||
|
|
|
@ -2,23 +2,23 @@ Globals:
|
|||
# absolute path required
|
||||
web_root: '/var/www/html'
|
||||
# favicon, can take any image type
|
||||
favicon: 'favicon.ico'
|
||||
favicon: 'favicon_smile.gif'
|
||||
# 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'
|
||||
profile_image: 'my_picture.png'
|
||||
# Your name
|
||||
profile_name: 'Jesse'
|
||||
profile_name: 'Bob Smith'
|
||||
# Quote of any sort you'd like
|
||||
profile_quote: "The internet is great."
|
||||
profile_quote: "The internet is great. Please enjoy this sample webpage."
|
||||
# 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'
|
||||
resume_pdf_download: 'https://docs.google.com/document/d/blahblahblah/export?format=pdf'
|
||||
resume_docx_download: 'https://docs.google.com/document/d/blahblahblah/export?format=docx'
|
||||
# Boolean, if set to True, will generate new panel with below info
|
||||
optional_panel: True
|
||||
# this could be social media, other conent, whatever suits you!
|
||||
|
|
1
config/wsgi.conf
Normal file
1
config/wsgi.conf
Normal file
|
@ -0,0 +1 @@
|
|||
LoadModule wsgi_module modules/mod_wsgi.so
|
BIN
front_end/images/favicon_smile.gif
Normal file
BIN
front_end/images/favicon_smile.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 93 B |
BIN
front_end/images/my_picture.png
Normal file
BIN
front_end/images/my_picture.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 MiB |
Loading…
Add table
Add a link
Reference in a new issue