I am trying to use hypnotoad server to serve some static html pages. What configuration do i need to do or where shall i keep my static html files for hypnotoad to pick them.
Thanks!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
IIRC the servers provided by Mojolicious, of which Hypnotoad is one, serve static HTML from a folder named
public. All you should need is the most basic of applications to start the server. I this should be enough for simple use,and run with
hypnotoad myapp.pl(assuming this script is saved asmyapp.pland is in the same location as thepublicfolder).