github.com/Venafi/vcert/v5@v5.10.2/aruba/README (about)

     1  
     2  
     3  === RubyMine Setup ===
     4  
     5      1. building the app every scenario run
     6  
     7  	Run -> Edit Configurations... 
     8  	
     9  	Templates -> Cucumber
    10  
    11  	Add Before launch: External tool
    12  	
    13  		Program: /usr/local/go/bin/go
    14  		Arguments: build -o bin/vcert ../cmd/vcert
    15  		Working directory: $GOPATH/src/github.com/Venafi/vcert/v4/aruba
    16  	
    17  	OK -> OK -> Apply -> OK
    18  
    19  
    20      2. setting up local variables so that real-run scenarios knocks to real endpoints from IDE:
    21  
    22  	$ vi aruba/features/step_definitions/0.endpoints.rb
    23  
    24  		ENV['TPP_URL']      = "https://tpp.venafi.example.com:5008/vedsdk"
    25  		ENV['TPP_USER']     = "user"
    26  		ENV['TPP_PASSWORD'] = "xxx"
    27  		ENV['TPP_ZONE']     = 'some\zone'
    28  		ENV['CLOUD_URL']    = "https://api.venafi.example.com/v1"
    29  		ENV['CLOUD_APIKEY']    = "xxxxxxxx-b256-4c43-a4d4-15372ce2d548"
    30  		ENV['CLOUD_ZONE']   = "Default"