Coder Social home page Coder Social logo

semanurbilada / portfolio_plus Goto Github PK

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

Django CV page project for the technical lecture of Advanced Web Programming.

Python 37.12% Dockerfile 0.62% HTML 26.77% CSS 3.74% JavaScript 31.75%
django django-project django-cv-page docker docker-compose docker-container dockerfile django-portfolio django-bootstrap django-bootstrap-v5

portfolio_plus's Introduction

Portfolio Plus | Django CV Page

icon

#️⃣ TO DO

  • Database models: all datas -> WIP
  • Frontend: customizations
  • Frontend: bootstrap template
  • Set up: django project & github repo

#️⃣ Purpose

Welcome to my Portfolio Website! Here is the Django CV page project for the technical lecture of Advanced Web Programming. Main purpose is the learning and practicing;
- Django in backend applications,
- Docker container and enviroment,
- Bootstrap which is a framework of CSS.
Still in progress, and there are lots of aspect to be waiting for developing. Stay Tuned!

#️⃣ Preview

#️⃣ How To Run?

  1. Virtual environment setup:
python3 -m venv environment_name
  1. To activate the virtual environment (Windows):
environment_name/Scripts/activate
  1. To activate the virtual environment (Linux / MacOS):
source environment_name/bin/activate
  1. Install dependencies:
pip install -r requirements.txt

or

pip3 install -r requirements.txt
  1. Run:
python manage.py runserver

or

python3 manage.py runserver
  • Note: For deactivating python enviroment:
deactivate

or in MacOS / Linux:

source deactivate

#️⃣ Docker Scripts:

  1. Build and run the app:
docker-compose up --build

or

docker compose up --build
  1. Build and run the app in the background:
docker-compose up --build -d
  1. See current runs with container IDs:
docker ps
  1. Stop the run:
docker stop <container_id>
  1. Stop and remove the run:
docker-compose stop <container_id>
  1. About migrations:
  • Create a new migration from models;
docker-compose run app python3 manage.py makemigrations 
  • Apply migrations to database;
docker-compose run app python3 manage.py migrate
  1. Create superuser with docker:
docker-compose run app python3 manage.py createsuperuser

portfolio_plus's People

Contributors

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