1.8 KiB
1.8 KiB
Gnous.eu
Main website of Gnous.eu, the French speaking community of free software enthusiasts since 2017.
This website use Smarty template engine and Spectre CSS framework.
This project is stable and is already in production.
Deployment
Requirements :
To deploy this website you need :
- PHP7.1 or higher
- Composer (only for developpement)
- A webserver (NGINX is recommanded)
- At least 1.5 Gb of hard drive
- modrewrite and .htaccess enabled (in the case of apache)
- Git
Installation :
-
Clone the Git repository :
git clone https://git.gnous.eu/gnouseu/gnousdoteu
-
Make our webserver pointing to
public
folder. The main folder should'nt be accessible. -
Allow
/public/index.php
to write/public/templates_c
. -
Make our webserver serve
/public/index.php
for all pages and conserving args :
eg for NGINX (in server{
) :
location / {
try_files $uri $uri/ /index.php?$args;
}
- Make our webserver serve it for 404 and 403 too :
eg for NGINX (in server{
) :
error_page 404 /index.php;
error_page 403 /index.php;
- If you use modpagespeed, disable it for
/img/gnous.svg
:
eg for NGINX-modpagespeed (in server{
) :
pagespeed Disallow "*/img/gnous.svg";
- Reload your webserver and check if all is working
License :
This project is under MIT license