prevenir olvidos comunes

This commit is contained in:
f 2021-01-06 13:23:09 -03:00
parent 40f0427769
commit 5752070368

View file

@ -15,8 +15,8 @@ all: fa build ## Todo
build: ## Compilar el sitio build: ## Compilar el sitio
bundle exec jekyll build --profile --trace bundle exec jekyll build --profile --trace
serve: /etc/hosts ## Servidor de prueba serve: /etc/hosts kill-servers ## Servidor de prueba
@echo "Iniciando servidor web" @echo "Iniciando servidor web en https://$(domain):4000/"
@if ! ss -lnp | grep -q :65000 ; then nghttpd -d _site/ 65000 ../sutty.local/domain/sutty.local.{key,crt} & echo $$! > /tmp/nghttpd.pid ; fi @if ! ss -lnp | grep -q :65000 ; then nghttpd -d _site/ 65000 ../sutty.local/domain/sutty.local.{key,crt} & echo $$! > /tmp/nghttpd.pid ; fi
@if ! ss -lnp | grep -q :4000 ; then nghttpx -b "127.0.0.1,65001;/assets/js/:/sockjs-node/" -b "$(domain),65000;/;proto=h2;tls" -f "0.0.0.0,4000" -L FATAL --no-ocsp ../sutty.local/domain/sutty.local.{key,crt} & echo $$! > /tmp/nghttpx.pid ; fi @if ! ss -lnp | grep -q :4000 ; then nghttpx -b "127.0.0.1,65001;/assets/js/:/sockjs-node/" -b "$(domain),65000;/;proto=h2;tls" -f "0.0.0.0,4000" -L FATAL --no-ocsp ../sutty.local/domain/sutty.local.{key,crt} & echo $$! > /tmp/nghttpx.pid ; fi
@ -24,7 +24,7 @@ kill-servers: /tmp/nghttpd.pid /tmp/nghttpx.pid /tmp/webpack.pid ## Cerrar el se
webpack: assets/js/pack.js ## Compilar JS webpack: assets/js/pack.js ## Compilar JS
webpack-dev-server: ## Servidor de prueba de Webpack webpack-dev-server: /tmp/webpack.pid ## Servidor de prueba de Webpack
./node_modules/.bin/webpack-dev-server --public $(domain):4000 --host 127.0.0.1 --port 65001 & echo $$! > /tmp/webpack.pid ./node_modules/.bin/webpack-dev-server --public $(domain):4000 --host 127.0.0.1 --port 65001 & echo $$! > /tmp/webpack.pid
# Tomar los códigos de los íconos de este archivo y copiarlos a fa.txt # Tomar los códigos de los íconos de este archivo y copiarlos a fa.txt