-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from SatoshiPortal/release
Release v0.1.0-rc.1
- Loading branch information
Showing
106 changed files
with
7,631 additions
and
702 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,3 @@ | ||
[submodule "install/SatoshiPortal/dockers"] | ||
path = install/SatoshiPortal/dockers | ||
url = https://github.com/SatoshiPortal/dockers.git |
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,5 +1,17 @@ | ||
#!/bin/sh | ||
#!/bin/bash | ||
|
||
spawn-fcgi -s /var/run/fcgiwrap.socket -u nginx -g nginx -U nginx -- /usr/bin/fcgiwrap | ||
user='nginx' | ||
|
||
if [[ $1 ]]; then | ||
IFS=':' read -ra arr <<< "$1" | ||
|
||
if [[ ${arr[0]} ]]; then | ||
user=${arr[0]}; | ||
fi | ||
|
||
fi | ||
|
||
spawn-fcgi -M 0660 -s /var/run/fcgiwrap.socket -u $user -g nginx -U $user -- `which fcgiwrap` | ||
chmod -R g+rw /var/run/fcgiwrap.socket /etc/nginx/conf.d/* | ||
chown -R :nginx /etc/nginx/conf.d/* | ||
nginx -g "daemon off;" |
This file was deleted.
Oops, something went wrong.
4 changes: 3 additions & 1 deletion
4
api_auth_docker/keys.properties → api_auth_docker/keys-sample.properties
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
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,58 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | ||
<html> | ||
<head> | ||
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | ||
<script type="text/javascript"> | ||
$(function() { | ||
installation_status(); | ||
}); | ||
|
||
function httpget(url) { | ||
return fetch(url, { method: "GET" }) | ||
.catch(err => { | ||
console.log('HTTP GET Error: ' + err.message + ' :: STACK : ' + err.stack); | ||
$("#result").text((JSON.stringify(err.message))); | ||
return Promise.reject(err.message); | ||
}) | ||
.then(res => { | ||
if (!res.ok) { | ||
return res.json().then(data => { | ||
console.log('HTTP GET Error: ' + data.error.message); | ||
$("#result").text(JSON.stringify(data.error.message)); | ||
return Promise.reject(data.error.message); | ||
}); | ||
} | ||
return res.json(); | ||
}) | ||
.then(data => Promise.resolve(JSON.stringify(data))) | ||
} | ||
|
||
function installation_status() { | ||
httpget("installation.json") | ||
.then(result => { | ||
$("#result").text(result); | ||
}); | ||
} | ||
|
||
</script> | ||
</head> | ||
<body> | ||
<div id="hello"> | ||
<h1>Hello World from Cyphernode!</h1> | ||
<h2>If you are here, it means you successfully deployed Cyphernode. Congratulations, fellow Cyphernode Operator!</h2> | ||
</div> | ||
<hr/> | ||
<div id="files"> | ||
<h2>The following files have been encrypted with your configuration passphrase and your client keys passphrase, respectively:</h2> | ||
<ul> | ||
<li><a href="config.7z">Download your Cyphernode <b>configurations</b>, can be used for another Cyphernode deployment</a></li> | ||
<li><a href="client.7z">Download Client <b>API ID's and keys</b>, needed in your client apps</a></li> | ||
</ul> | ||
</div> | ||
<div id="Status"> | ||
<h2>This is the status of Cyphernode's installation and running components</h2> | ||
<pre lang="xml" id="result" style="white-space: pre-wrap"></pre> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.