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/06/22 22:01] devarun:run [2020/07/07 19:41] (current) deva
Line 7: Line 7:
 install/bin/muniad --file <my database>.xml --port <my port> [--ssl] install/bin/muniad --file <my database>.xml --port <my port> [--ssl]
 </code> </code>
-If ''--file'' is omitted it, the database will be stored in ''/tmp/munia.xml'' which isn't very helpful but can 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''
 + 
 +A users file must be created in ''install/etc/munia/users''the content of this file is a line-based user/password-hash list. 
 +Each line can be created with the ''muniapwd'' tool: 
 +<code> 
 +install/bin/muniapwd <username> 
 +</code> 
 +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.1592856089.txt.gz · Last modified: 2020/06/22 22:01 by deva