User Tools

Site Tools


run:run

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
run:run [2020/07/05 21:47] devarun:run [2020/07/07 19:41] (current) deva
Line 8: Line 8:
 </code> </code>
 If ''--file'' is omitted the database will be stored in ''/tmp/munia.xml'' which probably not what you want, but can nonetheless be useful for quick tests. If ''--file'' is omitted the database will be stored in ''/tmp/munia.xml'' which probably not what you want, but can nonetheless be useful for quick tests.
-If ''--ssl'' is added valid certificates must be put in ''install/share/ws/libwebsockets-test-server.key.pem'' and ''install/share/ws/libwebsockets-test-server.pem''.+If ''--ssl'' is added valid certificates must be put in ''install/share/munia/ws/libwebsockets-test-server.key.pem'' and ''install/share/munia/ws/libwebsockets-test-server.pem''.
  
 these files can be generated with ''openssl'' these files can be generated with ''openssl''
 <code> <code>
-openssl req -x509 -newkey rsa:4096 -keyout install/share/ws/libwebsockets-test-server.key.pem -out install/share/ws/libwebsockets-test-server.pem -days 365 -nodes+openssl req -x509 -newkey rsa:4096 -keyout install/share/munia/ws/libwebsockets-test-server.key.pem -out install/share/munia/ws/libwebsockets-test-server.pem -days 365 -nodes
 </code> </code>
  
 After this the server can be connected to using the ''https'' protocol instead of ''http''. After this the server can be connected to using the ''https'' protocol instead of ''http''.
- 
-Finally connect to whichever port was designated with firefox, for example: http://localhost:10000 
  
 A users file must be created in ''install/etc/munia/users''. the content of this file is a line-based user/password-hash list. A users file must be created in ''install/etc/munia/users''. the content of this file is a line-based user/password-hash list.
Line 25: Line 23:
 </code> </code>
 Simply copy the first line of the output from the command to the users file. Simply copy the first line of the output from the command to the users file.
 +
 +Finally connect to whichever port was designated with firefox, for example: http://localhost:10000
 +
run/run.1593978424.txt.gz · Last modified: 2020/07/05 21:47 by deva