Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Also see the following Bitbucket issues:

Step-by-step Workaround for * * AUTO Servers (e.g., SF QA AUTO)

1. Manually download the required files to the * * AUTO server

A. Download Repositories

There are two EAS source code repositories to download.

The names of the repository folders are important. It is recommended that the repositories be download by using a Web browser to navigate to the downloads section of each EAS source code repository. It is also important to accept the default name for the downloaded folders.

Tags Tab

The Tags tab will let you select which changeset, and format, that you want to download.

1. https://bitbucket.org/sfgovdt/eas/downloads/?tab=tags
2. https://bitbucket.org/sfgovdt/sfeas_config/downloads/?tab=tags

The downloaded compressed files will be named something like these:

            sfgovdt-eas-caaed66d58b3.zip
sfgovdt-sfeas_config-ff939b913451.zip

Uncompress the files.

This will result in three folders, such as these:

            sfgovdt-eas-caaed66d58b3
sfgovdt-sfeas_config-ff939b913451
sfgovdt-thirdparty-8a1b00afcb15

Again, the folder names are important, so do not change them.

Example of downloaded repository folders (compressed and uncompressed) in Windows:

Example of downloaded repository names in Windows

B. Download Workaround Deployment Scripts

Download the latest version of these five files from the /eas/web/bin/ source folder
https://bitbucket.org/sfgovdt/eas/src/default/web/bin/

1. deploy_eas_init.sh
2. deploy_eas_source.py
3. deploy_eas.sh
4. set_eas_mode.sh
5. set_eas_env.sh

2. FTP the 3 folders and 5 files to the /var/tmp folder of the server(s) to be deployed

Example of uploading the files from Windows to the /var/tmp  directory of the target server using FTP tool FileZilla:


See also https://filezilla-project.org/

See also PuTTY and SSH

3. Connect to relevant server and browse to /var/tmp

  cd /var/tmp

4. Change permissions of shell scripts

  sudo chmod u+x *.sh

5. Move shell scripts to their correct locations

  sudo cp deploy_eas_init.sh /var/www/html
  sudo cp deploy_eas_source.py /var/www/html
  sudo cp deploy_eas.sh /var/www/html
  sudo cp set_eas_mode.sh /var/www/html
  sudo cp set_eas_env.sh /var/www/html

Leave the 3 repository folders in the directory /var/tmp/

6. Run the deployment script as sudo

  cd /var/www/html
  sudo ./deploy_eas_init.sh <EAS_COMMIT> <CONFIG_COMMIT> <BITBUCKET_USER>


For example,

  sudo ./deploy_eas_init.sh caaed66 ff939b9 dan-king

7. Confirm deployment with tests

Filter by label

There are no items with the selected labels at this time.



  • No labels