https://github.com/semanurbilada/portfolio_plus
Django CV page project for the technical lecture of Advanced Web Programming.
https://github.com/semanurbilada/portfolio_plus
django django-bootstrap django-bootstrap-v5 django-cv-page django-portfolio django-project docker docker-compose docker-container dockerfile mit-license
Last synced: about 1 month ago
JSON representation
Django CV page project for the technical lecture of Advanced Web Programming.
- Host: GitHub
- URL: https://github.com/semanurbilada/portfolio_plus
- Owner: semanurbilada
- License: mit
- Created: 2024-02-26T07:50:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-13T06:49:17.000Z (about 2 years ago)
- Last Synced: 2025-03-06T00:35:23.331Z (over 1 year ago)
- Topics: django, django-bootstrap, django-bootstrap-v5, django-cv-page, django-portfolio, django-project, docker, docker-compose, docker-container, dockerfile, mit-license
- Language: Python
- Homepage:
- Size: 2.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Portfolio Plus | Django CV Page
* [TO DO](#hash-todo)
* [Purpose](#hash-purpose)
* [Preview](#hash-preview)
* [How To Run?](#hash-how-to-run)
* [Docker Scripts](#hash-docker-scripts)
* [Licence](#hash-licence)
## :hash: TO DO
- [x] Frontend: customizations
- [x] Database models: all datas
- [x] Set up: docker environment
- [x] Frontend: bootstrap template
- [x] Set up: django project & github repo
# :hash: 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.
Take a look at my learning journey for Django & Bootstrap & Docker; and feel free to send feedback!
# :hash: Preview






# :hash: How To Run?
1. Virtual environment setup:
```
python3 -m venv environment_name
```
2. To activate the virtual environment (Windows):
```
environment_name/Scripts/activate
```
3. To activate the virtual environment (Linux / MacOS):
```
source environment_name/bin/activate
```
4. Install dependencies:
```
pip install -r requirements.txt
```
or
```
pip3 install -r requirements.txt
```
5. Run:
```
python manage.py runserver
```
or
```
python3 manage.py runserver
```
- Note: For deactivating python enviroment:
```
deactivate
```
or in MacOS / Linux:
```
source deactivate
```
## :hash: Docker Scripts:
1. ```Build and run the app:```
```
docker-compose up --build
```
or
```
docker compose up --build
```
2. Build and run the app in the background:
```
docker-compose up --build -d
```
3. See current runs with container IDs:
```
docker ps
```
4. Stop the run:
```
docker stop
```
5. Stop and remove the run:
```
docker-compose stop
```
6. 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
```
7. Create superuser with docker:
```
docker-compose run app python3 manage.py createsuperuser
```
## :hash: Licence
This project is licensed under the MIT License - see the [LICENSE](https://github.com/semanurbilada/portfolio_plus?tab=MIT-1-ov-file#readme) file for details.