Coder Social home page Coder Social logo

personalwebsite's Introduction

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

personalwebsite's People

Contributors

jonesnl avatar

Watchers

Andrea avatar  avatar

Forkers

blees

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.