A basic issue tracker
These installation instructions worked on Ubuntu 20.04 on WSL and should work on any Ubuntu 20.04 installation.
sudo apt install ruby-full
- Verify with:
ruby -v
sudo apt install sqlite3
- Verify with:
which sqlite3
- install nvm: instructions here: https://github.com/nvm-sh/nvm
- Verify with:
nvm -v
nvm install node
- Verify with:
node -v
npm install --global yarn
- Verify with:
yarn -v
gem install rails
- Verify with:
rails --version
sudo apt-get install libsqlite3-dev
- Verify with:
sqlite3 --version
- you may need to run
rails webpacker:install - run the server with
bin/rails server
- Navigate to the project folder
- Run
rails serveror the shorthandrails s - Run
rails db:resetto start a fresh database and seed it. (There's no need to start the server as sqlite3 is serverless) - Navigate your browser to http://localhost:3000/
-
Ruby version: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091)[x86_64-linux-gnu]
-
Rails version: Rails 6.1.3.2
-
System dependencies: Ruby, Ruby-on-Rails, and all its dependencies
- run
rails db:test:prepareto clean out the testing database for testing - run
rspecto run the test