Removed the .gitkeep from data import files dir and added the doc.
parent
cbd9fab73a
commit
c1d49abb21
|
@ -20,6 +20,5 @@ module/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
node_modules/
|
node_modules/
|
||||||
bin/
|
bin/
|
||||||
!data/import/files/.gitkeep
|
|
||||||
data/*
|
data/*
|
||||||
.docker/mariaDb/data/*
|
.docker/mariaDb/data/*
|
||||||
|
|
|
@ -81,7 +81,9 @@ https://github.com/monarc-project/MonarcAppFO/blob/master/vagrant/bootstrap.sh#L
|
||||||
$ git clone https://github.com/monarc-project/MonarcAppFO.git /var/lib/monarc/fo
|
$ git clone https://github.com/monarc-project/MonarcAppFO.git /var/lib/monarc/fo
|
||||||
$ cd /var/lib/monarc/fo
|
$ cd /var/lib/monarc/fo
|
||||||
$ mkdir -p data/cache
|
$ mkdir -p data/cache
|
||||||
|
$ mkdir -p data/DoctrineORMModule/Proxy
|
||||||
$ mkdir -p data/LazyServices/Proxy
|
$ mkdir -p data/LazyServices/Proxy
|
||||||
|
$ mkdir -p data/import/files
|
||||||
$ composer install -o
|
$ composer install -o
|
||||||
# chown -R www-data:www-data data/
|
# chown -R www-data:www-data data/
|
||||||
# chmod -R 700 data/
|
# chmod -R 700 data/
|
||||||
|
|
|
@ -114,6 +114,8 @@ CREATE DATABASE monarc_common DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_ge
|
||||||
[root@monarc ~]# cd /var/www/html/monarc/fo
|
[root@monarc ~]# cd /var/www/html/monarc/fo
|
||||||
[root@monarc fo]# mkdir -p data/cache
|
[root@monarc fo]# mkdir -p data/cache
|
||||||
[root@monarc fo]# mkdir -p data/LazyServices/Proxy
|
[root@monarc fo]# mkdir -p data/LazyServices/Proxy
|
||||||
|
[root@monarc fo]# mkdir -p data/DoctrineORMModule/Proxy
|
||||||
|
[root@monarc fo]# mkdir -p data/import/files
|
||||||
[root@monarc fo]# chmod -R g+w data
|
[root@monarc fo]# chmod -R g+w data
|
||||||
[root@monarc fo]# yum remove php-5.4.16 php-cli-5.4.16 php-common-5.4.16
|
[root@monarc fo]# yum remove php-5.4.16 php-cli-5.4.16 php-common-5.4.16
|
||||||
```
|
```
|
||||||
|
|
|
@ -81,6 +81,7 @@ Especially by setting a strong root password.
|
||||||
$ mkdir -p data/cache
|
$ mkdir -p data/cache
|
||||||
$ mkdir -p data/DoctrineORMModule/Proxy
|
$ mkdir -p data/DoctrineORMModule/Proxy
|
||||||
$ mkdir -p data/LazyServices/Proxy
|
$ mkdir -p data/LazyServices/Proxy
|
||||||
|
$ mkdir -p data/import/files
|
||||||
$ chmod -R g+w data
|
$ chmod -R g+w data
|
||||||
$ composer install -o
|
$ composer install -o
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ $ tar -xzf /var/lib/monarc/releases/`basename $MONARCFO_RELEASE_URL` -C /var/lib
|
||||||
# Create release symlink
|
# Create release symlink
|
||||||
$ ln -s /var/lib/monarc/releases/`basename $MONARCFO_RELEASE_URL | sed 's/.tar.gz//'` $PATH_TO_MONARC
|
$ ln -s /var/lib/monarc/releases/`basename $MONARCFO_RELEASE_URL | sed 's/.tar.gz//'` $PATH_TO_MONARC
|
||||||
# Create data and caches directories
|
# Create data and caches directories
|
||||||
$ mkdir -p $PATH_TO_MONARC_DATA/cache $PATH_TO_MONARC_DATA/DoctrineORMModule/Proxy $PATH_TO_MONARC_DATA/LazyServices/Proxy
|
$ mkdir -p $PATH_TO_MONARC_DATA/cache $PATH_TO_MONARC_DATA/DoctrineORMModule/Proxy $PATH_TO_MONARC_DATA/LazyServices/Proxy $PATH_TO_MONARC_DATA/import/files
|
||||||
# Create data directory symlink
|
# Create data directory symlink
|
||||||
$ ln -s $PATH_TO_MONARC_DATA $PATH_TO_MONARC/data
|
$ ln -s $PATH_TO_MONARC_DATA $PATH_TO_MONARC/data
|
||||||
```
|
```
|
||||||
|
|
|
@ -377,6 +377,7 @@ echo -e "\n--- Creating cache folders for backend… ---\n"
|
||||||
mkdir -p $PATH_TO_MONARC/data/cache
|
mkdir -p $PATH_TO_MONARC/data/cache
|
||||||
mkdir -p $PATH_TO_MONARC/data/LazyServices/Proxy
|
mkdir -p $PATH_TO_MONARC/data/LazyServices/Proxy
|
||||||
mkdir -p $PATH_TO_MONARC/data/DoctrineORMModule/Proxy
|
mkdir -p $PATH_TO_MONARC/data/DoctrineORMModule/Proxy
|
||||||
|
mkdir -p $PATH_TO_MONARC/data/import/files
|
||||||
|
|
||||||
|
|
||||||
echo -e "\n--- Adjusting user mod… ---\n"
|
echo -e "\n--- Adjusting user mod… ---\n"
|
||||||
|
|
Loading…
Reference in New Issue