Size: 429
Comment:
|
Size: 708
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Generally, you will want to create a user account for running emen2, e.g. 'emen2.' This has the benefit of working well with the default config file. Running as any other user also works fine, you will just have to change one or two paths in config.yml. | = Installing and configuring EMEN2 = |
Line 3: | Line 3: |
1. Download the latest EMEN2 source code release and untar [default: /home/emen2/emen2 ] | <<TableOfContents>> |
Line 5: | Line 5: |
3. Create a directory for the Database Environment, [default: /home/emen2/db ] | = Install Dependencies = You will first need to install the various [[EMEN2/Dependencies|EMEN2 dependencies]]. They are all straight-forward to install, and can generally be installed using Python's easy_install system. = Quick Start = Here is a "quick start" guide to install EMEN2, initialize an EMEN2 DB, and start the web server. The "-h" argument in the scripts below are references to a directory to keep the EMEN2 DB; the directory will be created if it does not exist. {{{ python -m emen2.db.admin -h $HOME/test_db python -m emen2.clients.clone -h $HOME/test_db -- --defs python -m emen2.web.server -h $HOME/test_db }}} |
Installing and configuring EMEN2
Install Dependencies
You will first need to install the various EMEN2 dependencies. They are all straight-forward to install, and can generally be installed using Python's easy_install system.
Quick Start
Here is a "quick start" guide to install EMEN2, initialize an EMEN2 DB, and start the web server. The "-h" argument in the scripts below are references to a directory to keep the EMEN2 DB; the directory will be created if it does not exist.
python -m emen2.db.admin -h $HOME/test_db python -m emen2.clients.clone -h $HOME/test_db -- --defs python -m emen2.web.server -h $HOME/test_db