Closed amitaibu closed 4 months ago
Thanks! 👍 Looks good to me.
For testing you should be able to load this into ghci from within your IHP directory:
cd ihp
ghci
:l exe/IHP/CLI/NewSessionSecret.hs
I'm getting an error
Did you start ghci from within the IHP folder? There the .ghci
file should enable the BlockAguments
extension via https://github.com/digitallyinduced/ihp/blob/master/.ghci#L32
I missed chmod go-w .ghci
Now it's working well.
ghci> main
IerLodatg74w7ktiw75uJiMkXbyN6XHhgD4tEUTIn3Ztg9L9QE8m372rWWHm7rSpz2sMNYpnDaH4UflIlDmh9u1/Xz0dAyyj3OhZx6kyYF3G08r5wKNpjSLLHludPL+N
ghci>
This is the output I get when I execute on Ubuntu:
Notice the
%
on the end. PR is an attempt to add a new line at the end of the string.However, I don't know how to execute this locally to test it.