fix names
fix names
This commit is contained in:
54
README.md
54
README.md
@ -8,7 +8,7 @@ make run.server
|
||||
|
||||
Now open:
|
||||
|
||||
`http://ccstech.localhost`
|
||||
`http://template.localhost`
|
||||
|
||||
## Gulp
|
||||
|
||||
@ -68,15 +68,15 @@ 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`.
|
||||
- Caddy: `http://template.localhost`.
|
||||
- Gulp: `http://template.localhost:3000`.
|
||||
- Django: `http://template.localhost:8000`.
|
||||
- Mailhog: `http://template.localhost:8025`.
|
||||
|
||||
### Bash Django
|
||||
|
||||
``` shell
|
||||
docker exec -it ccstech_django_1 bash
|
||||
docker exec -it template-django bash
|
||||
```
|
||||
|
||||
# Run production
|
||||
@ -85,4 +85,44 @@ docker exec -it ccstech_django_1 bash
|
||||
docker-compose -f docker-compose.pro.yaml up
|
||||
```
|
||||
|
||||
Open `https://ccstech.io`.
|
||||
Open `https://template.io`.
|
||||
|
||||
# Enviroment (.env)
|
||||
```text
|
||||
PROJECT_NAME=template
|
||||
|
||||
# Domain
|
||||
DOMAIN=template.localhost
|
||||
DOMAIN_URL=http://template.localhost
|
||||
|
||||
# Database
|
||||
DB_NAME=template_db
|
||||
DB_USER=postgres
|
||||
DB_PASSWORD=postgres
|
||||
DB_HOST=postgresql
|
||||
DB_PORT=5432
|
||||
|
||||
# Django options
|
||||
DJANGO_SECRET_KEY=mysecret
|
||||
|
||||
# Redis
|
||||
REDIS_HOST=redis
|
||||
REDIS_PORT=6379
|
||||
|
||||
# Caddy
|
||||
CADDY_PORT_ONE=80
|
||||
CADDY_PORT_TWO=443
|
||||
|
||||
# Email
|
||||
DEFAULT_FROM_EMAIL=no-reply@template.localhost
|
||||
EMAIL_CONTACT=info@template.localhost
|
||||
EMAIL_HOST=mailhog
|
||||
EMAIL_USER=
|
||||
EMAIL_PASSWORD=
|
||||
EMAIL_PORT=1025
|
||||
EMAIL_USE_TLS=False
|
||||
EMAIL_USE_SSL=False
|
||||
|
||||
# Mailhog
|
||||
MAILHOG_PORT=8025
|
||||
```
|
Reference in New Issue
Block a user