To start using the Astro-WISE Environment, AWE, a few initial steps need to be taken. Access is required to the AWE database, to the AWE software and to the AWE dataservers.
In order to automatically log in to the database when you start up AWE you need to create a directory .awe in your home directory as follows:
cd mkdir .awe cd .aweNow create a file here called Environment.cfg with the following content:
[global] database_user : <your database username> database_password : <your database password>Make sure only you can read the contents of the file:
chmod a-rwx,u+rw Environment.cfgAt OmegaCEN/Kapteyn Astronomical Institute, the AWE software is set up by executing the appropriate one of the following commands from the shell prompt:
# At the Kapteyn Institute in Groningen ...]$ module add aweTip: you can add this source command to your .cshrc or .bashrc file to have the command executed automatically for future awe sessions.
aweand you will be welcomed by an awe-prompt similar to this
Python 3.5.1 (default, Nov 1 2016, 21:12:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux Type "help", "copyright", "credits" or "license" for more information. Welcome to the Astro-WISE Environment Importing Astro-WISE packages. Please wait... Distributed Processing Unit: dpu.hpc.rug.astro-wise.org Dataserver: ds.astro.rug.astro-wise.org Current profile: - username : <your database username> - database : db.astro.rug.astro-wise.org - project : <your active project> - current privileges : 1 (MyDB) awe>From this moment on the Astro-WISE Environment is at your disposal.
Usage of Git is explained in /portal/howtos/man_howto_git/man_howto_git.shtmlHOW-TO Use Git.
Note that in order to use your checkout of awe instead of the
central checkout, you have to set an environment variable AWEPIPE to
point to the awe directory. C-shell example:
setenv AWEPIPE /path/to/your/awe
It may be convenient to add this line to your 1#1
Setting up write access to the Git repository is further explained in /portal/howtos/man_howto_git/man_howto_git.shtmlHOW-TO Use Git.