Devski manages nginx vhosts on your development machine so you can develop in the closest possible environment to production.
Devski enables you to do the following on your local:
- .dev domain
- https
- create a vhost with a single command
Current commands:
❯ devski commands
--version
add
available
cat
commands
disable
enable
enabled
help
install
link
open
reload
remove
restart
start
stop
templates
test
❯
Then clone the devski repo to your home directory:
git clone [email protected]:mynameisrufus/devski.git ~/.devski
Add ~/.devski/bin to your $PATH for access to the devski command-line utility.
echo 'export PATH="$HOME/.devski/bin:$PATH"' >> ~/.bash_profile
Zsh note: Modify your ~/.zshenv
file instead of ~/.bash_profile
To configure:
devski install
tail -f /usr/local/var/log/nginx/*.log
tail -f /var/log/nginx.log