Go to file
2023-07-26 14:49:06 +00:00
app/public Add layout template 2023-07-21 10:32:25 +02:00
assets Add assets 2023-07-24 09:32:14 +02:00
core Fix url template 2023-07-24 14:58:15 +02:00
Dockerfiles Update sass 2023-07-03 08:29:01 +00:00
scripts fix variables 2022-08-01 15:52:14 +02:00
templates Fix gulp 2023-07-24 14:48:40 +02:00
tests update code and fix errors 2022-08-02 08:56:21 +02:00
.editorconfig Update file .editorconfig 2023-07-26 14:49:06 +00:00
.gitignore Fix url template 2023-07-24 14:58:15 +02:00
asgi.py First commit 2021-04-01 09:48:35 +02:00
Caddyfile.dev Fix gulp 2023-07-24 14:48:40 +02:00
Caddyfile.pro update code and fix errors 2022-08-02 08:56:21 +02:00
django-launcher.sh add env and clean old apps 2022-07-29 10:59:09 +02:00
docker-compose.yaml Fix gulp 2023-07-24 14:48:40 +02:00
env.example Fix url template 2023-07-24 14:58:15 +02:00
gulpfile.js Fix gulp 2023-07-24 14:48:40 +02:00
make-a-backup.sh Create make-a-backup.sh 2021-06-24 10:46:55 +02:00
Makefile Update Makefile 2022-08-09 09:33:45 +00:00
manage.py fix names 2022-07-29 15:15:22 +02:00
package.json Update sass 2023-07-03 08:29:01 +00:00
pytest.ini fix test and dockerfile of django 2022-08-01 16:58:51 +02:00
README.md Update README.md 2022-08-09 09:39:48 +00:00
requirements.txt Update requirements.txt 2022-08-03 08:09:31 +00:00

Requirements

Run 🏃

docker-compose up

Open the browser at http://ruralmeet.localhost/.

Installation

Development

  1. Create .env file.
cp env.example .env
  1. Load fake data
make run.loaddata.fake

Run Gulp

gulp dev

Recreate docker

make docker.recreate.django

Load fake data

make run.loaddata.fake

Production

  1. Create .env file.
cp env.example .env
  1. Load minimum data
make run.loaddata
  1. Create superuser
docker-compose exec -T django bash -c "python3 manage.py createsuperuser"

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://project.localhost.
  • Gulp: http://project.localhost:3000.
  • Django: http://project.localhost:8000.
  • Mailhog: http://project.localhost:8025.

Bash Django

docker exec -it project-django bash