Update build live cd howto
This commit is contained in:
parent
cacb4f094a
commit
27932f9023
@ -56,20 +56,19 @@ exists. You can comment lines:
|
||||
;extension=mhash.so
|
||||
;extension=snmp.so
|
||||
|
||||
10) Copy files demo_drop_dolibarr_database.php and demo_load_dolibarr_data.php
|
||||
found in this directory into
|
||||
\slax\changes\var\www\htdocs\
|
||||
Thoose files could be used to clean a Dolibarr install or load demo datas.
|
||||
|
||||
11) Personalized your desktop.
|
||||
10) Personalized your desktop.
|
||||
Add a link to application
|
||||
"firefox http://localhost/dolibarr/htdocs/index.php"
|
||||
Add a link to application
|
||||
"/var/www/htdocs/dolibarr/dev/initdemo/initdemo.sh"
|
||||
Add a link to application
|
||||
"/var/www/htdocs/dolibarr/dev/initdemo/removedemo.sh"
|
||||
|
||||
12) Reboot again on your USB key.
|
||||
11) Reboot again on your USB key.
|
||||
|
||||
13) Now you can run Dolibarr install process
|
||||
12) Now you can run Dolibarr install process
|
||||
http://localhost/dolibarr/htdocs/install/index.php
|
||||
or build a CD with command
|
||||
or copy USB key content to build another one quickly.
|
||||
or build a CD with command (TODO).
|
||||
|
||||
or copy USB key content to build antoher one quickly.
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ DIALOG=${DIALOG=dialog}
|
||||
DIALOG="$DIALOG --ascii-lines"
|
||||
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
|
||||
trap "rm -f $fichtemp" 0 1 2 5 15
|
||||
$DIALOG --title "Purge de Dolibarr" --clear \
|
||||
$DIALOG --title "Reload Dolibarr database" --clear \
|
||||
--inputbox "Mysql database name :" 16 51 dolibarrdemo 2> $fichtemp
|
||||
valret=$?
|
||||
case $valret in
|
||||
|
||||
29
dev/initdemo/removedemo.sh
Normal file
29
dev/initdemo/removedemo.sh
Normal file
@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
#------------------------------------------------------
|
||||
# Script to remove setup of a Dolibarr installation.
|
||||
# Note: "dialog" tool need to be available.
|
||||
#
|
||||
# Régis Houssin - regis@dolibarr.fr
|
||||
# Laurent Destailleur - eldy@users.sourceforge.net
|
||||
#------------------------------------------------------
|
||||
# WARNING: This script erase all data of database
|
||||
#------------------------------------------------------
|
||||
|
||||
DIALOG=${DIALOG=dialog}
|
||||
DIALOG="$DIALOG --ascii-lines"
|
||||
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
|
||||
trap "rm -f $fichtemp" 0 1 2 5 15
|
||||
$DIALOG --title "Remove Dolibarr install" --clear \
|
||||
--yesno "Do you confirm ?" 15 40
|
||||
valret=$?
|
||||
case $valret in
|
||||
0)
|
||||
base=`cat $fichtemp`;;
|
||||
1)
|
||||
exit;;
|
||||
255)
|
||||
exit;;
|
||||
esac
|
||||
|
||||
# ---------------------------- remove conf file
|
||||
rm ../../htdocs/conf/conf.php
|
||||
Loading…
Reference in New Issue
Block a user