Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc939a5bdb | ||
|
|
4a052ea707 | ||
|
|
f139fcfefb | ||
|
|
347a81dc66 | ||
|
|
d142fc1eac | ||
|
|
e039ed4fe5 | ||
|
|
44d2248ba5 | ||
|
|
34e7527442 |
+1
-1
@@ -1 +1 @@
|
||||
1.11.3
|
||||
1.11.4
|
||||
|
||||
@@ -7,9 +7,9 @@ ENV?="dev"
|
||||
|
||||
install:
|
||||
#copy config file from template first time only
|
||||
@if [ ! -f config.xml ]; then \
|
||||
cp config.xml.dist config.xml; \
|
||||
fi
|
||||
# @if [ ! -f config.xml ]; then \
|
||||
# cp config.xml.dist config.xml; \
|
||||
# fi
|
||||
|
||||
@if [ $(ENV) = "dev" ]; then \
|
||||
make install_dev; \
|
||||
@@ -20,7 +20,7 @@ install_dev:
|
||||
#set config file to debug=1
|
||||
#@sed -e 's?debug=.*?debug="1"?g' --in-place config.xml
|
||||
#install haxe dependencies in .haxelib
|
||||
haxelib newrepo
|
||||
haxelib newrepo
|
||||
haxelib -always install cagette.hxml
|
||||
haxelib -always install cagetteJs.hxml
|
||||
#template tools
|
||||
@@ -47,7 +47,7 @@ compile:
|
||||
echo "compile CagettePéi core"; \
|
||||
haxe cagette.hxml; \
|
||||
fi
|
||||
|
||||
|
||||
|
||||
#compile SASS files to CSS
|
||||
css:
|
||||
@@ -64,15 +64,15 @@ frontend:
|
||||
chown www-data:www-data tmp
|
||||
|
||||
#update POT file from source
|
||||
i18n:
|
||||
i18n:
|
||||
haxe potGeneration.hxml
|
||||
|
||||
#compile templates in each language, required for production env.
|
||||
templates:
|
||||
templates:
|
||||
mkdir -p lang/master/tmp
|
||||
haxe cagette.hxml -D i18n_generation
|
||||
@make LANG=fr ctemplates
|
||||
msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo
|
||||
msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo
|
||||
chown www-data:www-data -R www
|
||||
chown www-data:www-data -R lang/fr
|
||||
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
CAGETTE PEI
|
||||
===========
|
||||
|
||||
Cagette Péi est un logiciel libre qui favorise les circuits courts.
|
||||
Il a été adapté pour les besoins des AMAPs sur le marché réunionnais.
|
||||
|
||||
> <french>
|
||||
> Fourche du logiciel [Cagette.net](https://github.com/CagetteNet) à partir de la version 0.9.2 Novembre 2018
|
||||
>
|
||||
> Certaines portions du code source de Cagette.net n'étant plus disponibles en téléchargement à partir de cette date,
|
||||
> j'ai repris sur la base d'un existant pour adapter au marché local réunionnais et leurs AMAPéi.
|
||||
> Fourche du logiciel [Cagette.net](https://github.com/CagetteNet) à partir de la version 0.9.2 Novembre 2018. Certaines portions de code n'étant plus disponibles en téléchargement à partir de cette date, le logiciel a été repris, adapté puis réactualisé. Pour plus d'information, contact@artcode.re
|
||||
> </french>
|
||||
|
||||

|
||||
|
||||
## PREREQUISITE MARIADB
|
||||
|
||||
```bash
|
||||
@@ -32,21 +34,20 @@ cd /var/www
|
||||
git clone https://git.artcode.re/cagetters/cagettepei.git
|
||||
cd cagettepei
|
||||
make install ENV=dev
|
||||
|
||||
vim /etc/apache2/sites-available/cagettepei.conf
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
<VirtualHost *:80>
|
||||
ServerName cagettepei
|
||||
DirectoryIndex index.n
|
||||
DocumentRoot /var/www/cagettepei/www/
|
||||
|
||||
CustomLog ${APACHE_LOG_DIR}/cagettepei/access.log combined
|
||||
ErrorLog ${APACHE_LOG_DIR}/cagettepei/debug.log
|
||||
ErrorLogFormat "[%{uc}t] %M"
|
||||
DocumentRoot /var/www/cagettepei/www
|
||||
DirectoryIndex index.n
|
||||
CustomLog ${APACHE_LOG_DIR}/cagettepei/access.log combined
|
||||
</VirtualHost>
|
||||
```
|
||||
|
||||
|
||||
```bash
|
||||
sed -i '/<Directory \/var\/www\/>/,/<\/Directory>/ s/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
|
||||
a2dissite 000-default.conf
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
Reference in New Issue
Block a user