Skip to content

hnorden/nginx-ssi-dev-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx SSI Development Environment

Start nginx

cd ~/nginx-ssi-dev-environment
make run-nginx

On any file changes, simply restart the container (cmd+c and make run-nginx again).

Debugging

In another shell you can follow debug messages:

cd ~/nginx-ssi-dev-environment
make debug

Testing

In another shell you can test the current configuration:

cd ~/nginx-ssi-dev-environment
make test

Test Expectations

Here an onelinter to check your test expectations:

cd ~/nginx-ssi-dev-environment
TEST_CASES_TO_MATCH=8 result=$(make test | grep 'Test OK' | wc -l | tr -d " "); if [ "$result" -eq $TEST_CASES_TO_MATCH ]; then echo "Test count OK"; else echo "Test count not expected\!"; fi

Screenshot of current state

What this project is about

These days it is all about microserivces! And fat SPA frontend monoliths... What can we do about it? Divide and conquer, of course. Some interesting discussions and repos you can find here:

Nginx Docs

About

Setup to easily test your nginx ssi settings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published