Skip to content
Snippets Groups Projects
Unverified Commit d998a898 authored by David Beniamine's avatar David Beniamine
Browse files

several fixes for production

parent 4c2445f1
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ html = """<!DOCTYPE html> ...@@ -29,7 +29,7 @@ html = """<!DOCTYPE html>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="author" content="David Beniamine"> <meta name="author" content="David Beniamine">
<link type="text/css" rel="stylesheet" href="/web/css/style.css" /> <link type="text/css" rel="stylesheet" href="/web/css/style.css" />
<title>Tetras Pass</title> <title>Pass Checker</title>
</head> </head>
<body> <body>
<div id="box"> <div id="box">
...@@ -37,7 +37,7 @@ html = """<!DOCTYPE html> ...@@ -37,7 +37,7 @@ html = """<!DOCTYPE html>
<div id="logos"> <div id="logos">
<img style="float:left" src="/web/img/tl.png" alt="Tetras Libre" /> <img style="float:left" src="/web/img/tl.png" alt="Tetras Libre" />
<h1> <h1>
Tetras Pass Pass Checker
</h1> </h1>
</div> </div>
""" """
...@@ -80,7 +80,7 @@ html += """ ...@@ -80,7 +80,7 @@ html += """
<foot> <foot>
<div id="foot"> <div id="foot">
<p> <p>
<a href="https://gitlab.tetras-libre.fr/tetras-libre/tetras-pass">Tetras Pass</a> est Logiciel développé par <a href="https://gitlab.tetras-libre.fr/tetras-libre/PasswordTester">Pass Checker</a> est Logiciel développé par
<a href="http://tetras-libre.fr">Tetras Libre</a>, <a href="http://tetras-libre.fr">Tetras Libre</a>,
distribué sous Licence <a href="https://www.gnu.org/licenses/agpl.html">AGPL</a> V3.0. distribué sous Licence <a href="https://www.gnu.org/licenses/agpl.html">AGPL</a> V3.0.
</p> </p>
......
[Unit]
Description=PassChecker Service
After=network.target
[Service]
Type=simple
User=www-data
ExecStart=/usr/local/bin/passchecker --web
[Install]
WantedBy=multi-user.target
...@@ -16,7 +16,7 @@ setup( ...@@ -16,7 +16,7 @@ setup(
}, },
# Project uses reStructuredText, so ensure that the docutils get # Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine # installed or upgraded on the target machine
install_requires=['click', 'zxcvbn-python>=4.4.14'], install_requires=['click', 'zxcvbn-python>=4.4.14', 'python-dateutil', 'markdown'],
package_data={ package_data={
'': ['*.txt'], '': ['*.txt'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment