Add docker support

This commit is contained in:
Jesús
2022-01-13 18:08:28 -05:00
parent b77c06257f
commit 4317b0ba5d
66 changed files with 324 additions and 1061 deletions

0
django/core/__init__.py Normal file
View File

3
django/core/admin.py Normal file
View File

@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

5
django/core/apps.py Normal file
View File

@@ -0,0 +1,5 @@
from django.apps import AppConfig
class CoreConfig(AppConfig):
name = 'core'

3
django/core/models.py Normal file
View File

@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

View File

@@ -0,0 +1,52 @@
<!Doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Sitio personal de Jesús</title>
<meta content="index,follow" name="robots"/>
<meta name="owner" content="Jesús E.">
<meta name="author" content="Jesus E.">
{% load static %}
<link rel="icon" href="{% static 'core/images/favicon.png' %}" sizes="192x192" />
<link rel="stylesheet" type="text/css"
href="{% static 'core/lib/normalize-css/normalize.css' %}"
integrity="sha512-Ol+aW3PNQAjGdD0KCyelmB8whw85m+OUP6XSSFSfCC9CobIfc3/PpYI5y8G1KINs61i24t+qPh6ecNOkKIwj1g=="/>
<link rel="stylesheet" type="text/css"
href="{% static 'core/css/estilos.min.css' %}"
integrity="sha512-F6X8y3VnnT7bzn002FiANw9eGVVDdKHpkNc6TVytQmOgV0j7M7/VUXUcAL5LaEBIuTuKGtR86qCS4VLA6oJW4g=="/>
</head>
<body>
<!-- Header and Menu -->
<header>
<div class="contenedor">
<nav class="menu">
<a href="#about-us" id="btn-acerca-de">Acerca de</a>
<a href="#trabajos" id="btn-trabajos">Proyectos</a>
<a href="#contacto" id="btn-contacto">Contacto</a>
</nav>
<div class="contenedor-texto">
<div class="texto">
<h1 class="nombre">Jesús</h1>
<h2 class="profesion">Desarrollador</h2>
</div>
</div>
</div>
</header>
<!-- content -->
<main>
{% block content %}{% endblock %}
</main>
{% block footer %}
{% block contacto %}{% endblock %}
{% endblock %}
<script src="{% static 'core/js/efectos.js' %}"
integrity="sha512-9GdKmuOrtKz7ckc46lSnzz8SVUCYJEL29vCbv1Kb63Fo5yVDLEzsmoiODINkWU9rxQTgSZiawwU0oE8+mknLLw=="></script>
<script src="{% static 'core/js/formulario.js' %}"
integrity="sha512-uiBX+5GOQELMNOY3xYelryeQwSn2G3eKqRFZEzisp+CZUp8r82jFPNgcdrBG/ZI/Wt4Lx7ojx2U4jAWXk5jqIw=="></script>
</body>
</html>

3
django/core/tests.py Normal file
View File

@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
django/core/views.py Normal file
View File

@@ -0,0 +1,3 @@
from django.shortcuts import render, HttpResponse
# Create your views here.