Purpose: Instructions for Initial Setup and First Run of Application in Development Environment on a Mac
Source: https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-ver15&preserve-view=true&pivots=cs1-bash
sudo docker run -e "ACCEPT_EULA=Y" -e 'SA_PASSWORD=YourStrongP@sswordHERE9' -p 1433:1433 --name TokiTime -d mcr.microsoft.com/mssql/server:2019-latest
git clone https://github.com/DrCool2/TokiTime.git cd TokiTime
if needed, install the requested version of Ruby, typically the activerecord-sqlserver-adapter folks take time to ensure that their adapter works with the latest version of Ruby and Rails https://github.com/rails-sqlserver/activerecord-sqlserver-adapter
sometimes this means the version of Ruby or Rails will be 6 to 8 months behind the latest available version when compared to Oracle or PostgreSQL
rvm install 2.7.2 rvm use 2.7.2
brew install freetds bundle update
yarn install —check-files
bundle update
password: YourStrongP@sswordHERE9
rm -r config/master.key rm -r config/credentials.yml.enc export EDITOR=vim rails db:credentials development: username: SA password: YourStrongP@sswordHERE9 host: localhost
rails db:create rails db:migrate
rails s -p 4000 -b 0.0.0.0