Commit 6b8619f4 authored by François Agneray's avatar François Agneray
Browse files

Add makefile

parent 34b7dd5c
UID := $(id -u)
GID := $(id -g)
NAME_APP=anis-website
list:
@echo ""
@echo "Useful targets:"
@echo ""
@echo " start > run a dev server for $(NAME_APP) application (in memory)"
@echo " stop > stop the dev server for $(NAME_APP) application"
@echo " restart > restart the dev server for $(NAME_APP) (container)"
@echo " status > display $(NAME_APP) container status"
start:
@docker run --rm --name $(NAME_APP) -d -p 8888:80 -v $(CURDIR):/usr/share/nginx/html:ro nginx
restart: stop start
stop:
@docker stop $(NAME_APP)
restart: stop start
status:
@docker ps -f name=$(NAME_APP)
...@@ -11,15 +11,16 @@ ...@@ -11,15 +11,16 @@
<link href="fontawesome/css/all.min.css" rel="stylesheet"> <link href="fontawesome/css/all.min.css" rel="stylesheet">
<link href="style.css" rel="stylesheet"> <link href="style.css" rel="stylesheet">
<!-- Page title --> <!-- Page meta -->
<title>ANIS</title> <title>ANIS</title>
<meta name="description" content="ANIS: AstroNomical Information System a content management system for astronomy and astrophysics">
</head> </head>
<body class="d-flex flex-column h-100"> <body class="d-flex flex-column h-100">
<header> <header>
<!-- Fixed navbar --> <!-- Fixed navbar -->
<nav class="navbar navbar-expand-md navbar-light fixed-top bg-light"> <nav class="navbar navbar-expand-md navbar-light fixed-top bg-light">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="#"> <a class="navbar-brand" href="/">
<img src="img/anis_v3_logo60.png" alt="anis logo" class="d-inline-block align-text-top"> <img src="img/anis_v3_logo60.png" alt="anis logo" class="d-inline-block align-text-top">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
...@@ -31,16 +32,16 @@ ...@@ -31,16 +32,16 @@
<a class="nav-link active" aria-current="page" href="/"><i class="fas fa-home"></i> Home</a> <a class="nav-link active" aria-current="page" href="/"><i class="fas fa-home"></i> Home</a>
</li> </li>
<li class="nav-item me-3"> <li class="nav-item me-3">
<a class="nav-link" href="/doc/"><i class="fas fa-search"></i> Features</a> <a class="nav-link" href="features.html"><i class="fas fa-search"></i> Features</a>
</li> </li>
<li class="nav-item me-3"> <li class="nav-item me-3">
<a class="nav-link" href="/doc/"><i class="fas fa-book"></i> User Guide</a> <a class="nav-link" href="/doc/"><i class="fas fa-book"></i> User Guide</a>
</li> </li>
<li class="nav-item me-3"> <li class="nav-item me-3">
<a class="nav-link" href="#"><i class="fas fa-users"></i> Team</a> <a class="nav-link" href="team.html"><i class="fas fa-users"></i> Team</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="#"><i class="fas fa-newspaper"></i> Publications</a> <a class="nav-link" href="publications.html"><i class="fas fa-newspaper"></i> Publications</a>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -84,8 +85,12 @@ ...@@ -84,8 +85,12 @@
<h5 class="card-title">ANIS V3</h5> <h5 class="card-title">ANIS V3</h5>
<p class="card-text"> <p class="card-text">
<ul> <ul>
<li>ANIS v3.3.0 : july 2020</li> <li>ANIS v3.5 : december 2020</li>
<li>ANIS v3.0.0 : march 2019</li> <li>ANIS v3.4 : october 2020</li>
<li>ANIS v3.3 : july 2020</li>
<li>ANIS v3.2 : april 2020</li>
<li>ANIS v3.1 : march 2020</li>
<li>ANIS v3.0 : march 2019</li>
<li>ANIS v3 beta : september 2018</li> <li>ANIS v3 beta : september 2018</li>
</ul> </ul>
</p> </p>
...@@ -114,19 +119,19 @@ ...@@ -114,19 +119,19 @@
<h1 class="divider front-page-divider text-center"><span>Overview</span></h1> <h1 class="divider front-page-divider text-center"><span>Overview</span></h1>
<div class="col-sm-6"> <div class="col-sm-6">
<h3><i class="fas fa-plug"></i> API Server</h3> <h3><i class="fas fa-plug"></i> API Server</h3>
<p class="lead">A PHP REST server for querying databases (metadata database and scientific database)</p> <p class="lead">A PHP REST server for querying metadata database and scientific databases</p>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<h3><i class="fas fa-user"></i> Web client</h3> <h3><i class="fas fa-user"></i> Web client</h3>
<p class="lead"> <p class="lead">
A Single Page Application made with Angular 2 / TypeScript, HTML & CSS, allows the user to query the REST A Single Page Application made with Angular / TypeScript, HTML & CSS, allows the user to query the REST
server via AJAX request (GET, POST, PUT, DELET) server via AJAX request (GET, POST, PUT, DELETE)
</p> </p>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<h3><i class="fas fa-user-lock"></i> Web admin</h3> <h3><i class="fas fa-user-lock"></i> Web admin</h3>
<p class="lead"> <p class="lead">
A Single Page Application made with Angular 2 / TypeScript, HTML & CSS, allows to manage the ANIS metadata database A Single Page Application made with Angular / TypeScript, HTML & CSS, allows to manage the ANIS metadata database
</p> </p>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment