Go to file
Andros Fenollosa 400d0f1b9c Add template
2022-06-27 14:28:40 +02:00
app/website Add template 2022-06-27 14:28:40 +02:00
ccstech Add template 2022-06-27 14:28:40 +02:00
Dockerfiles Add template 2022-06-27 14:28:40 +02:00
.gitignore Add template 2022-06-27 14:28:40 +02:00
asgi.py First commit 2021-04-01 09:48:35 +02:00
Caddyfile Add template 2022-06-27 14:28:40 +02:00
django-launcher.sh Add template 2022-06-27 14:28:40 +02:00
docker-compose.yaml Add template 2022-06-27 14:28:40 +02:00
gulpfile.js First commit 2021-04-01 09:48:35 +02:00
make-a-backup.sh Create make-a-backup.sh 2021-06-24 10:46:55 +02:00
Makefile Add template 2022-06-27 14:28:40 +02:00
manage.py Add template 2022-06-27 14:28:40 +02:00
package.json First commit 2021-04-01 09:48:35 +02:00
README.md Add template 2022-06-27 14:28:40 +02:00
requirements.txt Add template 2022-06-27 14:28:40 +02:00

Install

make docker.recreate.django
make run.loaddata
make run.server

Now open:

http://ccstech.localhost

Gulp

npm i

Run.

gulp dev

Tools

Lint

make lint

Formatear

make format

Recrear imagen de Django

make docker.recreate.django

Hacer una nueva migración después de cambiar un model.

make makemigrations

Migrar

make run.migrate

Cargar data mínima.

make run.loaddata

Generar data de desarrollo.

make run.loaddata.test

Other domains

  • Caddy: http://ccstech.localhost.
  • Gulp: http://ccstech.localhost:3000.
  • Django: http://ccstech.localhost:8000.
  • Mailhog: http://ccstech.localhost:8025.

Bash Django

docker exec -it ccstech_django_1 bash

Run production

docker-compose -f docker-compose.pro.yaml up

Open https://ccstech.io.