Skip to content

Commit

Permalink
use git clone http instead of ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Nov 14, 2023
1 parent 8a99e0d commit c141c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ puts "Running the Ontoportal API and CRON Setup..."

# Step 1: Clone ontologies_linked_data repo
puts "Cloning ontologies_linked_data repo..."
system("git clone --depth=1 git@github.com:ontoportal-lirmm/ontologies_linked_data.git")
system("git clone --depth=1 https://github.com/ontoportal-lirmm/ontologies_linked_data.git")

# Step 2: Generate configsets
puts "Generating Solr configsets..."
Expand Down Expand Up @@ -93,7 +93,7 @@ env_content.gsub!(/OP_APIKEY=<YOUR ONTOPORTAL API KEY>/, "OP_APIKEY=#{options[:a

# Step 6: Update OP_API_URL in .env file with provided API_URL argument
puts "Updating OP_API_URL in .env file..."
env_content.gsub!(/OP_APIKEY=<YOUR ONTOPORTAL API KEY>/, "OP_API_URL=#{options[:api_url]}")
env_content.gsub!(/OP_API_URL="https:\/\/data.bioontology.org"/, "OP_API_URL=#{options[:api_url]}")

# Step 7: Update STARTER_ONTOLOGY in .env file with provided STARTER_ONTOLOGY argument
puts "Updating STARTER_ONTOLOGY in .env file..."
Expand Down

0 comments on commit c141c7f

Please sign in to comment.