GithubHelp home page GithubHelp logo

tadeopcreator / portfolio-website Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19.36 MB

Repository of my Portfolio Website

Home Page: https://www.tadeodeluca.com/

License: MIT License

Shell 0.03% PowerShell 0.01% Python 96.75% CSS 1.03% JavaScript 1.33% HTML 0.83% Dockerfile 0.01% Nushell 0.02%
aws django docker postgresql

portfolio-website's Introduction

My Portfolio Website

A Dockerized Django portfolio website to showcase my work, skills, and more.

Table of Contents

About

This is my personal portfolio website built with Django and Dockerized for easy deployment. It's a platform where I can showcase my projects, provide information about myself, and demonstrate my skills and experiences.

Features

  • Project Showcase: Display your projects with descriptions and links.
  • About Me: Share your background, education, and interests.
  • Resume: Upload your resume/CV for visitors to download.
  • Contact Form: Allow visitors to get in touch with you.
  • Dockerized: The project is containerized using Docker for easy deployment.

Getting Started

To get started with this project, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/TadeopCreator/portfolio-website.git
  2. Navigate to the project directory:

    cd django-portfolio
  3. Create a virtual environment (recommended):

    python -m venv venv
  4. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On macOS and Linux:

      source venv/bin/activate
  5. Install project dependencies:

    pip install -r requirements.txt
  6. Start the Django development server:

    python manage.py runserver
  7. Open your web browser and visit http://localhost:8000/ to view your website locally.

Using Docker Desktop

Building the Docker Image:

docker build -t my-django-app .
  • docker build: This command is used to build a Docker image from a Dockerfile.
  • -t my-django-app: The -t flag specifies a tag for the image. In this case, the tag is named my-django-app. You can think of the tag as a name for your image.
  • .: The period at the end indicates that the Dockerfile is in the current directory.

This command builds an image based on the instructions in your Dockerfile, which is typically used to define the environment and dependencies for your Django application.

Running the Django App Container:

docker run -d --network portfolio-network -p 8000:8000 my-django-app
  • docker run: This command is used to run a Docker container from an image.
  • -d: The -d flag runs the container in detached mode, meaning it runs in the background.
  • --network portfolio-network: This flag specifies the network to connect the container to. It appears you have a custom network named portfolio-network for your containers to communicate with each other.
  • -p 8000:8000: The -p flag maps ports from the host to the container. In this case, it maps port 8000 on your host machine to port 8000 in the container, allowing you to access your Django application in a web browser.
  • my-django-app: This is the name of the Docker image to run, which should match the tag you used when building the image.

This command starts a new container based on the image you built earlier, and it will run your Django application.

Remember to ensure that your Django application is correctly configured to use the network and ports specified in the docker run command. This includes database and other service connections if needed. Additionally, make sure your Dockerfile sets up your Django environment correctly.

Technologies Used

  • Django
  • Docker
  • HTML/CSS
  • JavaScript
  • PostgreSQL

License

This project is licensed under the MIT License - see the LICENSE file for details.

portfolio-website's People

Contributors

tadeopcreator avatar dependabot[bot] 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.