codeaster Wiki
Brought to you by:
codeaster
Table of contents:
After a standard installation from the
aster-full
package of code_aster, the files are installed in
${PREFIX}/bin
, ${PREFIX}/etc
, ${PREFIX}/lib
and ${PREFIX}/share
.
In the real life, the values can be
PREFIX=/opt/aster
and
DEV=${HOME}/dev/aster-prerequisites
.The scripts in
${PREFIX}/bin
and the configuration files in${PREFIX}/etc
are used from the standard installation without changes.
codeaster-frontend
repositoryThe repository will be cloned into ${DEV}/codeaster-frontend
.
Simply use:
cd ${DEV} hg clone http://hg.code.sf.net/p/prereq/frontend codeaster-frontend
You should backup your installation before starting!
Link for astk
:
cd ${PREFIX}/lib rm -rf astk ln -s ${DEV}/codeaster-frontend/ASTK_CLIENT/lib astk
Link for asrun
library:
cd ${PREFIX}/lib/python2.7/site-packages rm -rf asrun ln -s ${DEV}/codeaster-frontend/ASTK_SERV/asrun .
Link for asrun
data:
cd ${PREFIX}/share/codeaster/asrun rm -rf data ln -s ${DEV}/codeaster-frontend/ASTK_SERV/share/codeaster/asrun/data . cd ${PREFIX}/share/locale/fr/LC_MESSAGES rm asrun.mo ln -s ${DEV}/codeaster-frontend/ASTK_SERV/i18n/locale/fr/LC_MESSAGES/asrun.mo .
Link for asrun
plugins configuration (your plugins are supposed to be
versioned in the repository):
cd ${PREFIX}/etc/codeaster rm -rf plugins ln -s ${DEV}/codeaster-frontend/ASTK_SERV/etc/plugins .