Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

BLEES/website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My personal webserver, using:
Python 3.2
Django 1.7
Python-Markdown 2.4.1


Database notes:
Front page body is under key "front_body" in table "frontpage_data"

Settings:
Settings are located in /etc/personalsite:
    lastfm_api_key.txt has the api key needed for pulling data from lastfm
    personalsite.sqlite3 is the database for the site
    django_secret_key.txt is Django's secret key

All of these are imported in the settings files

For the admin page, the default user is root, with a password of admin. Obviously you can create your own using Django's
create super user functionality.

Files that will need to be edited and copied without the .template extension when setting up:
    testing/salt/roots/personalsite_conf/django_secret_key.txt.template (should change when moving to production)
    testing/salt/roots/personalsite_conf/lastfm_api_key.txt.template (must get API key from last.fm)
    testing/salt/roots/personalsite_conf/personalsite.sqlite3.template (can be copied directly)
    testing/salt/roots/ssl/server.crt.template (see below)
    testing/salt/roots/ssl/server.key.template (see below)

Gereate your own keys by running this command in the testing/salt/roots/ssl directory:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.4%
  • ApacheConf 22.8%
  • HTML 22.2%
  • Ruby 2.6%