-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd2e62c
commit bd62281
Showing
8 changed files
with
157 additions
and
37 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
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,14 @@ | ||
#!/usr/bin/bash | ||
|
||
pwd | ||
|
||
export LD_LIBRARY_PATH=/home/bas/superbol/lib:/usr/host/lib | ||
export PATH=/home/bas/superbol/bin:${PATH} | ||
|
||
if [ ! -e Makefile ]; then | ||
cd ${APP_HOME}/cobol_repo | ||
fi | ||
|
||
./configure | ||
make | ||
make install |
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,23 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Install the latest release on the VM | ||
|
||
INSTALLDIR=$(readlink -f "${INSTALLDIR:-${HOME}/superbol}") | ||
|
||
mkdir -p tmp-install | ||
|
||
mkdir -p ${INSTALLDIR}/bin | ||
mkdir -p ${INSTALLDIR}/lib | ||
mkdir -p ${INSTALLDIR}/include | ||
mkdir -p ${INSTALLDIR}/share | ||
|
||
|
||
tar -xvzf superbol-install.tar.gz -C tmp-install | ||
|
||
cp -Rf tmp-install/target/home/* /home/ | ||
|
||
export PATH=${INSTALLDIR}/bin:${PATH} | ||
export LD_LIBRARY_PATH=${INSTALLDIR}/lib:${LD_LIBRARY_PATH} | ||
export C_INCLUDE_PATH=${INSTALLDIR}/include:${C_INCLUDE_PATH} |
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
Binary file not shown.
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,51 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Socket Address and Timestamps</title> | ||
<style> | ||
table { | ||
width: 100%; | ||
border-collapse: collapse; | ||
} | ||
table, th, td { | ||
border: 1px solid black; | ||
} | ||
th, td { | ||
padding: 8px; | ||
text-align: left; | ||
} | ||
th { | ||
background-color: #f2f2f2; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<p>Build log available <a href="/git_log">here</a></p> | ||
<p>Last loaded config: {{ loaded_path }}</p> | ||
<h1>Socket Address and Timestamps</h1> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Socket Address</th> | ||
<th>Timestamp (UTC)</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{# Iterate over the hashmap #} | ||
{% for addr, timestamp in connections %} | ||
<tr> | ||
<td>{{ addr }}</td> | ||
<td>{{ timestamp }}</td> | ||
</tr> | ||
{% else %} | ||
<tr> | ||
<td colspan="2">No data available</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
|
||
</body> | ||
</html> |
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,34 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Git log</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f4f4f4; | ||
margin: 0; | ||
padding: 20px; | ||
} | ||
h1 { | ||
color: #333; | ||
} | ||
.console { | ||
background-color: #1e1e1e; | ||
color: #c5c5c5; | ||
padding: 15px; | ||
border-radius: 5px; | ||
font-family: "Courier New", Courier, monospace; | ||
white-space: pre-wrap; | ||
word-wrap: break-word; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Git log</h1> | ||
<div class="console"> | ||
{{ log_content }} | ||
</div> | ||
</body> | ||
</html> |