Add enviroment variables .env_example
This commit is contained in:
@@ -6,3 +6,10 @@ PUDB_PORT=8025
|
|||||||
|
|
||||||
# TRYTOND information
|
# TRYTOND information
|
||||||
TRYTOND_VERSION=7.6
|
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
|
||||||
|
|||||||
25
Rakefile
25
Rakefile
@@ -94,6 +94,31 @@ namespace :live do
|
|||||||
end
|
end
|
||||||
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)
|
def compose(*arg, compose: DOCKER_COMPOSE)
|
||||||
sh "docker-compose -f #{compose} #{arg.join(' ')}"
|
sh "docker-compose -f #{compose} #{arg.join(' ')}"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -7,4 +7,5 @@ pudb==2025.1
|
|||||||
urwid==3.0.2
|
urwid==3.0.2
|
||||||
freezegun==1.5.1
|
freezegun==1.5.1
|
||||||
psycopg2==2.9.10
|
psycopg2==2.9.10
|
||||||
|
pycountry==24.6.1
|
||||||
|
|
||||||
|
|||||||
2
web_app
2
web_app
Submodule web_app updated: 6b30f617da...7670838215
Reference in New Issue
Block a user