Funyinoluwa Kashimawo
12/07/2023, 10:38 PMFunyinoluwa Kashimawo
12/07/2023, 10:39 PMDavid Herman
12/07/2023, 10:40 PMFunyinoluwa Kashimawo
12/07/2023, 10:40 PMDavid Herman
12/07/2023, 10:41 PMglobals.put(System.getenv("Environment"))
should do it?Funyinoluwa Kashimawo
12/07/2023, 10:41 PMDavid Herman
12/07/2023, 10:42 PMDavid Herman
12/07/2023, 10:42 PMFunyinoluwa Kashimawo
12/07/2023, 10:45 PMproperties
file instead of using the BuildConfig gradle pluginDavid Herman
12/07/2023, 10:45 PMDavid Herman
12/07/2023, 10:46 PMDavid Herman
12/07/2023, 10:47 PMmain.kt
if you want to see it yourself)Funyinoluwa Kashimawo
12/07/2023, 10:50 PMChristiano
01/12/2024, 9:56 PMPS C:\Workspace\...\....\....\site> export BASE_URL=<https://127.0.0.1:5432/>; kobweb run
export : The term 'export' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ export BASE_URL=<https://127.0.0.1:5432/>; kobweb run
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (export:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I found out it happens because I'm on a windows and the export
command is for linux machines. But when I run set BASE_URL=<https://127.0.0.1:5432/>; kobweb run
the project won't recognize my environment variable... What could be the issue, any idea?Christiano
01/12/2024, 10:04 PM$env:BASE_URL="<https://127.0.0.1:5432/>"; kobweb run