Difference between revisions of "How to Create AVA"
From ADempiere
This Wiki is read-only for reference purposes to avoid broken links.
(→Repackaging the AVA: thanks to the help from IRC) |
(→Setting up: more notes) |
||
Line 19: | Line 19: | ||
*chmod 777 RUN_setup.sh | *chmod 777 RUN_setup.sh | ||
*copy back the properties files | *copy back the properties files | ||
− | *./RUN_setup.sh | + | *./RUN_setup.sh (select PostgreSQL, use adempiere as DB name, and need to switch to root for this setup) |
− | */tools/ ./RUN_ImportAdempiere.sh | + | *dropdb adempiere -U adempiere (this is proper way to drop the DB before the import below) |
+ | */tools/ ./RUN_ImportAdempiere.sh | ||
+ | |||
+ | =Test it= | ||
+ | *./RUN_Adempiere.sh (''su adempiere'' first to login as adempiere user and not root which has no permissions) | ||
+ | *(You may hit errors from getting to the PG database, and have to do some further edits or settings. (to be cont'd) | ||
=Repackaging the AVA= | =Repackaging the AVA= |
Revision as of 23:05, 1 January 2008
Contents
Updating from the previous AVA
- The basic idea behind making AVA is simple, in fact too simple.
- It is just a matter of adding onto another virtual machine image.
- In this case we already have the previous AVA. So i am using the last one which was AVA315 done by Fer_Luck and Timo Kontro.
First Steps
- Get into a fresh latest AVA via vmplayer (refer to ADempiere Virtual Appliance on how to get that.
- Launch the web browser within AVA to download the latest binary release from SourceForge
- You can alternatively compile the latest source from trunk and upload the binary to some ftp site and download back via the web browser.
Stop the JBoss
- sudo /etc/init.d/jboss stop
Setting up
- Now it is just a matter of setting up as normally expected in a real environment
- But first copy the old properties files (Adempiere.properties in both user directory and Adempiere's, AdempiereEnv.properties) so that you need not redo settings during RUN_setup.sh
- rm -fr /opt/Adempiere
- untar the gz file into /opt directory
- chmod 777 RUN_setup.sh
- copy back the properties files
- ./RUN_setup.sh (select PostgreSQL, use adempiere as DB name, and need to switch to root for this setup)
- dropdb adempiere -U adempiere (this is proper way to drop the DB before the import below)
- /tools/ ./RUN_ImportAdempiere.sh
Test it
- ./RUN_Adempiere.sh (su adempiere first to login as adempiere user and not root which has no permissions)
- (You may hit errors from getting to the PG database, and have to do some further edits or settings. (to be cont'd)
Repackaging the AVA
- Making it smaller and saving it for upload (coming soon)
Special thanks to the boys from IRC
Of course Red1 can be dumb and always need fast help. Which i got easily from the IRC room. So here is big thanks to:
- Fer_Luck
- Timo Kontro
- Tim xp_prg
- Dellph