Follow the below instructions and commands for basic setup to get the sprint running in development environment. Along with that sign up on bit Bucket and Heroku with official credentials.
curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
curl -sSL https://get.rvm.io | bash -s stable
rvm install 2.5.3 rvm use 2.5.3
sudo gem update
sudo gem install bundler
sudo gem install rails -v 5.2.1
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt install yarn
sudo apt install postgresql-10 pgadmin4
Start the service with sudo service postgresql restart
sudo snap install --classic heroku
sudo apt install openjdk-11-jre-headless
https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html
https://www.java.com/en/download/ https://www.elastic.co/guide/en/elasticsearch/reference/current/windows.html
To configure Elastic Search to start automatically when the system boots up, run the following commands
sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable elasticsearch.service
Install it as a service; will auto-start when Windows boots up.
sudo systemctl start elasticsearch.service sudo systemctl stop elasticsearch.service
Restart service using the service manager.
sudo snap install docker docker run -p 1358:1358 -d appbaseio/dejavu open http://localhost:1358/
overseers/dashboard/chewy
#!/usr/bin/env ruby APP_ROOT = File.expand_path('..', dir) Dir.chdir(APP_ROOT) do begin exec "yarnpkg", *ARGV rescue Errno::ENOENT $stderr.puts "Yarn executable was not detected in the system." $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" exit 1 end end
- Disable auto-increment index
- Perform migration
- Run calculations in clock process
"<PATH TO POSTGRESQL's BIN FOLDER>\pg_restore" --verbose --clean --no-acl --no-owner -h localhost -U rails -d sprint_dev ""
Run the command rspec
to run the test suite