Add enviroment variables .env_example

This commit is contained in:
rodia
2025-09-15 16:53:42 -03:00
parent 7acb3abe05
commit da47abef57
4 changed files with 34 additions and 1 deletions

View File

@@ -6,3 +6,10 @@ PUDB_PORT=8025
# TRYTOND information
TRYTOND_VERSION=7.6
TRYTOND_PORT_LIVE=8090
TRYTON_ADMIN_EMAIL=admin@admin.co
DB_HOSTNAME=db
POSTGRES_DB=tryton
POSTGRES_USER=tryton
POSTGRES_PASSWORD=SUp3r-pass*DB

View File

@@ -94,6 +94,31 @@ namespace :live do
end
end
desc 'Git - Submodules'
namespace :git do
desc 'Iniciar y actualizar submodules'
task :submodules_init do
sh "git submodule init && git submodule update"
end
desc 'Actualizar submodules, últimos commits'
task :submodules_update do
sh "git submodule update --recursive --remote"
end
desc 'Purgar submodules'
task :submodules_purge do
sh "git submodule deinit -f --all"
end
desc 'Actualizar submodules a una rama específica'
task :submodules_update_branch, [:branch] do |t, args|
branch = args[:branch] || 'main' # Usar 'main' como rama predeterminada si no se especifica
sh "git submodule foreach 'git checkout #{branch} && git pull origin #{branch}'"
end
end
def compose(*arg, compose: DOCKER_COMPOSE)
sh "docker-compose -f #{compose} #{arg.join(' ')}"
end

View File

@@ -7,4 +7,5 @@ pudb==2025.1
urwid==3.0.2
freezegun==1.5.1
psycopg2==2.9.10
pycountry==24.6.1

Submodule web_app updated: 6b30f617da...7670838215