Merge branch 'master' into doc/conception-bdd
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
a45f4d818b
@ -0,0 +1,12 @@
|
||||
@startuml
|
||||
|
||||
class Connexion
|
||||
|
||||
class Modele
|
||||
|
||||
class Account
|
||||
|
||||
class AccountGateway
|
||||
|
||||
|
||||
@enduml
|
@ -0,0 +1,9 @@
|
||||
set -e
|
||||
|
||||
mkdir ~/.ssh
|
||||
echo "$SERVER_PRIVATE_KEY" > ~/.ssh/id_rsa
|
||||
chmod 0600 ~/.ssh
|
||||
chmod 0500 ~/.ssh/id_rsa*
|
||||
ssh -p 80 -o 'StrictHostKeyChecking=no' iqball@maxou.dev mkdir -p /server/nginx/IQBall/$DRONE_BRANCH
|
||||
rsync -avz -e "ssh -p 80 -o 'StrictHostKeyChecking=no'" --delete /outputs/* iqball@maxou.dev:/server/nginx/IQBall/$DRONE_BRANCH
|
||||
ssh -p 80 -o 'StrictHostKeyChecking=no' iqball@maxou.dev "chmod 770 /server/nginx/IQBall/$DRONE_BRANCH; chgrp www-data /server/nginx/IQBall/$DRONE_BRANCH"
|
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Twig view</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Hello world</h1>
|
||||
|
||||
|
||||
{% for v in results %}
|
||||
<p>username: {{ v.name }}</p>
|
||||
<p>description: {{ v.description }}</p>
|
||||
{% endfor %}
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Twig view</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Hello, this is a sample form made in Twig !</h1>
|
||||
|
||||
<form action="submit-twig" method="POST">
|
||||
<label for="name">your name: </label>
|
||||
<input type="text" id="name" name="name"/>
|
||||
<label for="password">a little description about yourself: </label>
|
||||
<input type="text" id="password" name="description"/>
|
||||
<input type="submit" value="click me to submit!"/>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue