diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..cf39121 --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +DOMAIN=localhost +DEMO=false diff --git a/README.md b/README.md index 44a3151..375cd85 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,20 @@ -# INSTALACION: +# INSTALACIÓN: -la instalacion es muy estandar +La instalación es muy estándar ``` - python -m venv env - source env/bin/actevate - python install -r requirements.txt +python -m venv env +source env/bin/actevate +python install -r requirements.txt ``` -## IMPORTANT EXTERNAL DEPENDETS +## IMPORTANT EXTERNAL DEPENDENCIES -Para arrancarlo es necesario tener el paquete xapian-bindings en tu ordenador. No se instala por pip asi que depende de cada sistema operativo: -https://xapian.org/download +Para arrancarlo es necesario tener el paquete `xapian-bindings` en tu ordenador. No se instala mediante `pip`, así que depende de cada [sistema operativo](https://xapian.org/download). Luego solo necesitas: ``` - ./manage.py migrate - ./manage.py runserver +./manage.py migrate +./manage.py runserver ``` diff --git a/admin/__init__.py b/admin/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/admin/admin.py b/admin/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/admin/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/admin/apps.py b/admin/apps.py new file mode 100644 index 0000000..6d596f5 --- /dev/null +++ b/admin/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class AdminConfig(AppConfig): + default_auto_field = "django.db.models.BigAutoField" + name = "admin" diff --git a/admin/migrations/__init__.py b/admin/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/admin/models.py b/admin/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/admin/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/admin/templates/admin_panel.html b/admin/templates/admin_panel.html new file mode 100644 index 0000000..3dd5ed1 --- /dev/null +++ b/admin/templates/admin_panel.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +