How to manually add user in discourse?

Then maybe what you want is

cd /var/discourse 
rake admin:create

In spite of the name, making the user an admin is optional.

Edit : oops left out enter app as noted below