mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
add 'make serve-global'
This runs the PHP development server in a mode where it listens globally. This is needed when running inside vagrant and port-forwarding to the host machine.
This commit is contained in:
@@ -146,6 +146,11 @@ if (BUILD_API)
|
|||||||
php -S 127.0.0.1:8088
|
php -S 127.0.0.1:8088
|
||||||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website
|
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_custom_target(serve-global
|
||||||
|
php -S 0.0.0.0:8088
|
||||||
|
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user