Giter Club home page Giter Club logo

blog.adrianrubico.com's Introduction

blog.adrianrubico.com

Django HTML5 CSS3 JavaScript SQLite Visual Studio Code

Introduction

This is my personal blog site, built with Django framework, Ajax, and Recaptcha. Additionally, it is SEO-friendly with a sitemap.xml implemented. You can check out my blog site blog.adrianrubico.com

Table of Content

Run Locally

If you want to try this locally pull the docker image from this github repo registry

docker pull ghcr.io/git-adrianrubico/blog.adrianrubico.com:latest

Then run the docker

docker run -d -p 8000:8000 --name DjangoBlog ghcr.io/git-adrianrubico/blog.adrianrubico.com:latest

Installation

1. Clone the repository:

git clone https://github.com/git-adrianrubico/blog.adrianrubico.com

2. Create and activate virtual environment:

cd blog.adrianrubico.com
python -m venv env
source env/bin/activate

3. Next, Install all the components

pip install -r requirements.txt

4. Make a migration and migrate

python manage.py makemigrations
python manage.py migrate

5. Once the data is migrated, create a superuser to entry a data into DB.

python manage.py createsuperuser

Primary Modules used

  • Django==5.0.7
  • django-recaptcha==4.0.0

Edit Post

To edit post follow this format in ckeditor admin page.
In the style tag, represent the blur effect on your images.
Then, img tag your full resolution img. In addition, I include postdetail-text_container to align center of your texts.

You can use this as reference if you like ๐Ÿ˜‰

<div class="main-photo-container">
    <div class="blur-load" style="background-image:url(https://bucket-adrianrubico28.s3.us-east-1.amazonaws.com/blog_app/blog_photo_main/blog-3-smallv2.jpg);">
        <img class="blurry-load" src="https://bucket-adrianrubico28.s3.us-east-1.amazonaws.com/blog_app/blog_photo_main/blog-3.jpg" loading="lazy">
    </div>
</div>
<div class="postdetail-text_container">
    <p>
        TEXT HERE
    </p>
    <div class="postdetail_subimage">
        <div class="blur-load" style="background-image:url(https://bucket-adrianrubico28.s3.us-east-1.amazonaws.com/blog_app/blog_photo_main/blog-3-smallv2.jpg);">
            <img src="https://bucket-adrianrubico28.s3.us-east-1.amazonaws.com/blog_app/blog_photo_main/blog-3.jpg" id="zoom-background" loading="lazy">
        </div>
    </div>
</div>

Technology Used

  • Python
  • HTML
  • CSS
  • Javascript

Features

  1. Django-Powered: A robust portfolio leveraging Django for dynamic content and seamless interactivity.

  2. Google Recaptcha: Prevent bots and enhance security with Google Recaptcha, ensuring a secure and spam-free communication experience.

  3. SEO-Friendly: Optimized for search engines with an implemented sitemap.xml, enhancing visibility and ranking on search engine results pages (SERPs).

Website Screenshots

image1 image2 image3

Admin Screenshots

image4 image5

Deployment

In the deployment you could try using Render or Vercel. You may follow the instruction as my previous work

Credits

License

This project is licensed under the MIT License.

Author

blog.adrianrubico.com's People

Contributors

git-adrianrubico 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.