User Tools

Site Tools


Sidebar

lua:environments

Q. Is there a way to flag Tarantool as a development (or production) environment and then use some global variable to run the code in the development environment only? (2018)

A. Setting a LUA_ENV variable before running Tarantool and getting it with os.getenv('LUA_ENV') should work just fine.

Comments

Enter your comment. Wiki syntax is allowed:
W Q X W Y
 
lua/environments.txt · Last modified: 2018/05/25 21:00 by eabates

Real Time Web Analytics