-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also, copy them to packaged application.
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
INSTALLING HTMLHOUSE | ||
-------------------- | ||
|
||
1. Extract the archive. | ||
2. Run keys.sh to generate keys. This will generate a keypair in the | ||
application's directory named `prod` and `prod.pub`. | ||
BACK UP THESE FILES outside the application directory. If these change, | ||
users won't be able to edit their posts anymore. | ||
3. Run the application. Here's an example script: | ||
|
||
export DB_USER=dbuser | ||
export DB_PASSWORD=pass | ||
export DB_DB=htmlhouse | ||
export PRIVATE_KEY=keys/prod | ||
export PUBLIC_KEY=keys/prod.pub | ||
export PORT=8080 | ||
./htmlhouse -h="http://localhost:8080" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters