Coder Social home page Coder Social logo

jackdavidson's Introduction

jackdavidson

personal website and blog

This is my personal website and blog where I post about technology related subjects.

installation procedure

$ git clone https://github.com/jack-davidson/jackdavidson.git
$ cd jackdavidson
$ ./tools/setup.sh

and DONE! You will have to do additional setup for using the admin interface such as creating a superuser to manage the website, the instructions for this are documented in the django documentation.

technologies used

I am using:

  • Python + django for the backend
  • SQLite for the database
  • HTML + CSS + Vanilla Javascript for the frontend

the acronym for this is: L inux N ginx S qlite P ython

reminders!

when developing and deploying, you need to make sure that the secret key is never added to version control. You must cd into the src/ directory and run ../tools/generate_secret_key.py > secret_key.txt. A more concise version of this would to be in the root directory of the project and run ./tools/generate_secret_key.py > src/secret_key.txt. Do not remove the secret key from the gitignore because if it gets exposed and used in production, that would be a serious security vulnerability. It is good to generate a secret key often.

project structure

As django is a very structured framework, developers need to make sure that they establish a system to keep your project organized. Django's template system allows the developer to use inheritance to write less code. This inheritance also must be used in css to keep your project optimally organized.

For css classes and ids that are needed by multiple apps, the stylesheets should be placed in the global /static/style directory. If a stylesheet is only needed by one app that should be placed in the /static/style directory.

Stylesheets should include a minimal amount of classes and rules and all rules in a stylesheet should be related to each other. Otherwise, make a separate stylesheet for them.

jackdavidson's People

Contributors

jack-davidson avatar

Stargazers

Maxim Rebguns avatar

Watchers

 avatar

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.