diff --git a/.gitignore b/.gitignore index e2387c8..8d7772c 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,6 @@ yarn-debug.log* .yarn-integrity /vendor + +*.key +*.crt diff --git a/Makefile b/Makefile index 84006b5..45fbf66 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) root_dir := $(patsubst %/,%,$(dir $(mkfile_path))) include $(root_dir)/.env +serve: + bundle exec rails s -b "ssl://0.0.0.0:3000?key=config/sutty.local.key&cert=config/sutty.local.crt" + # Limpiar los archivos de testeo clean: rm -rf _sites/test-* _deploy/test-* diff --git a/config/webpacker.yml b/config/webpacker.yml index 46ed57d..ec2129c 100644 --- a/config/webpacker.yml +++ b/config/webpacker.yml @@ -57,10 +57,10 @@ development: # Reference: https://webpack.js.org/configuration/dev-server/ dev_server: - https: false - host: localhost + https: true + host: sutty.local port: 3035 - public: localhost:3035 + public: sutty.local:3035 hmr: false # Inline should be set to true if using HMR inline: true