mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 10:46:22 +00:00
desarrollar con https, ver https://0xacab.org/sutty/sutty.local
This commit is contained in:
parent
c2b695b017
commit
6434d130be
3 changed files with 9 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -39,3 +39,6 @@
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
.yarn-integrity
|
.yarn-integrity
|
||||||
/vendor
|
/vendor
|
||||||
|
|
||||||
|
*.key
|
||||||
|
*.crt
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -3,6 +3,9 @@ mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||||
root_dir := $(patsubst %/,%,$(dir $(mkfile_path)))
|
root_dir := $(patsubst %/,%,$(dir $(mkfile_path)))
|
||||||
include $(root_dir)/.env
|
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
|
# Limpiar los archivos de testeo
|
||||||
clean:
|
clean:
|
||||||
rm -rf _sites/test-* _deploy/test-*
|
rm -rf _sites/test-* _deploy/test-*
|
||||||
|
|
|
@ -57,10 +57,10 @@ development:
|
||||||
|
|
||||||
# Reference: https://webpack.js.org/configuration/dev-server/
|
# Reference: https://webpack.js.org/configuration/dev-server/
|
||||||
dev_server:
|
dev_server:
|
||||||
https: false
|
https: true
|
||||||
host: localhost
|
host: sutty.local
|
||||||
port: 3035
|
port: 3035
|
||||||
public: localhost:3035
|
public: sutty.local:3035
|
||||||
hmr: false
|
hmr: false
|
||||||
# Inline should be set to true if using HMR
|
# Inline should be set to true if using HMR
|
||||||
inline: true
|
inline: true
|
||||||
|
|
Loading…
Reference in a new issue