The purpose of this project is to test Cassandra features using Scala 3.
Install Homebrew on OSX.
Install the following packages via Homebrew:
- brew tap homebrew/services
- brew install scala
- brew install sbt
- brew install cassandra
Start:
- brew services start cassandra
- cqlsh ( Verify Cassandra started, and cqlsh can connect. See Warning below. )
Stop:
- brew services stop cassandra
Cassandra ( as of 2020.6 ) may not actually start via homebrew. Run cqlsh to verify cassandra started. If cqlsh prints a connection refused error, folow these steps:
- brew services stop cassandra
- brew unlink cassandra && brew link cassandra
- brew services start cassandra
- cqlsh
You might also run 1) cassandra -f or 2) cassandra -r to run cassandra and then cqlsh.
See output at ./target/test.log
- sbt clean test