https://github.com/outout14/gnousdoteu
ARCHIVE - MIGRATED ON https://git.gnous.eu/gnouseu/gnousdoteu
https://github.com/outout14/gnousdoteu
Last synced: 25 days ago
JSON representation
ARCHIVE - MIGRATED ON https://git.gnous.eu/gnouseu/gnousdoteu
- Host: GitHub
- URL: https://github.com/outout14/gnousdoteu
- Owner: outout14
- License: mit
- Archived: true
- Created: 2019-07-29T19:16:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-05T19:26:01.000Z (about 4 years ago)
- Last Synced: 2023-03-05T21:46:23.841Z (over 3 years ago)
- Language: Smarty
- Homepage: https://git.gnous.eu/gnouseu/gnousdoteu
- Size: 2.93 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gnous.eu

[](https://forthebadge.com) [](https://forthebadge.com)
Main website of [Gnous.eu](https://gnous.eu/?lang=en), 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 :
1. PHP7.1 or higher
2. Composer (only for **developpement**)
3. A webserver (NGINX is recommanded)
4. At least 1.5 Gb of hard drive
5. modrewrite and .htaccess enabled (in the case of apache)
6. 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](LICENSE)