![]() ![]() 6.2 KMS, Trust and secrets distribution.4.5 Extract a sub-part of a document tree.2.18 Passing Secrets to Other Processes.2.13 Specify a different GPG key server.2.12 Specify a different GPG executable. ![]() sops.yaml conf to select KMS, PGP and age for new files 2.8 Assuming roles and using KMS in various AWS accounts.# go to the elasticsearch import script directory If all goes well, you should be able to load up the site at localhost:3000. RAILS_ENV=production bin/rails server install python plugins for ES import Tail -f log/sidekiq.log # The last line should be: Sidekiq Pro 3.3.3, commercially licensed. # Check whether sidekiq started successfully redis_init.sh start # When started successfully: Starting redis. Sudo apt install yarn launch ggKbase server # Start redis To manage the javascript packages curl -sS | sudo apt-key add -Įcho "deb stable main" | sudo tee /etc/apt//yarn.list SECRET_KEY_BASE # must be unique from all other keysĮS_DOCUMENT_TYPE= update database RAILS_ENV=production bin/rails db:migrate install yarn Git checkout Gemfile.lock install ruby gems bundle config set path 'vendor/bundle'īundle config a3ebaba2:eed19071 # for installing sidekiqīundle install add temporary folders # in ggkbase/ folder, add the following temporary folders # If/when you run into conflict over Gemfile.lock, run the following before pulling Ssh-add -k ~/.ssh/id_rsa git update local master branch # Assuming you are in ggkbase development directory # Install Java if it has not been installed yetīin/elasticsearch Set up ggKbase instance git clone project git clone if you didn't set up keychain above, add the private key to the SSH agent Vim config/jvm.options # increase memory to 31g Vim config/elasticsearch.yml # change cluster application name Mysql -uroot ggkbase_development < NEW TRAINING DB elasticsearch (search engine) Best is to download the latest version of Elasticsearch Set up database and import data mysql -urootĬREATE USER IDENTIFIED BY 'banfieldlab' Sudo add-apt-repository 'deb bionic main' Sudo apt-get install software-properties-common Redis-cli ping # Expected response is PONG mariadb (a variant of mysql) # install 10.2 on 18.04 (bionic) Sudo apt install libtokyocabinet-dev libxml2-dev libmysqlclient-dev libcurl4-openssl-dev sqlite3 libsqlite3-dev libbz2-dev -y redis sudo apt install redis-server Sudo apt install libbz2-dev # needed for tokyocabinet Sudo apt install sqlite3 libsqlite3-dev # needed for sqlite3 Sudo apt install libcurl4-openssl-dev # needed for patron Sudo apt install libmysqlclient-dev # needed for mysql2 Sudo apt install libxml2-dev # needed for libxml-ruby These are installed by the system administrator if you don’t have SUDO access sudo apt install libtokyocabinet-dev # needed for tokyocabinet # Append the following to your ~/.bashrc file # generate a private key from your machine Pip install -upgrade pip keychain sudo apt install keychain Gem update -system # this will install bundler pyenv (python env mgr) + python git clone ~/.pyenvĮcho 'export PYENV_ROOT="$HOME/.pyenv"' > ~/.bashrcĮcho 'export PATH="$PYENV_ROOT/bin:$PATH"' > ~/.bashrcĮcho -e 'if command -v pyenv 1>/dev/null 2>&1 then\n eval "$(pyenv init -)"\nfi' > ~/.bashrc Install rbenv vars plugin, needed for environmental variables git clone $(rbenv root)/plugins/rbenv-vars rbenv install 2.7.5 # as of Install ruby-build plugin, useful for install / uninstall commands git clone ~/.rbenv/plugins/ruby-build rbenv (ruby env mgr) + ruby # Full doc: Įcho 'export PATH="$HOME/.rbenv/bin:$PATH"' > ~/.bashrcĮcho 'eval "$(rbenv init -)"' > ~/.bashrc The software needed to run ggKbase includes: ruby, rbenv, rbenv-vars, sidekiq, puma, redis, mariadb, elasticsearch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |