pvincent 11 months ago
parent
commit
ea15e2e87d
  1. 2
      .vscode/launch.json
  2. 3
      .vscode/settings.json
  3. 10
      README.md

2
.vscode/launch.json

@ -5,7 +5,7 @@
"type": "ruby_lsp", "type": "ruby_lsp",
"name": "Debug Rails", "name": "Debug Rails",
"request": "launch", "request": "launch",
"program": "bin/rails server",
"program": "bin/rails server --port 3000",
}, },
] ]
} }

3
.vscode/settings.json

@ -8,4 +8,7 @@
"editor.semanticHighlighting.enabled": true, // Enable semantic highlighting "editor.semanticHighlighting.enabled": true, // Enable semantic highlighting
"editor.formatOnType": true // Enable formatting while typing "editor.formatOnType": true // Enable formatting while typing
}, },
"emmet.includeLanguages": {
"erb": "html"
} }
}

10
README.md

@ -1,5 +1,15 @@
# README # README
## Install from scratch Debian 12 (bookworm)
```bash
sudo apt install -y build-essential ruby-dev libpq-dev libyaml-dev
2>/dev/null grep -q GEM_HOME $HOME/.bashrc || printf "export GEM_HOME=$HOME/.ruby\nexport PATH=\$PATH:\$GEM_HOME/bin\n" >> $HOME/.bashrc && source $HOME/.bashrc
[[ -f $HOME/.gemrc ]] || echo 'gem: --no-document' >> $HOME/.gemrc
gem install rails bundler
bundle install
```
## database.yml ## database.yml
```yaml ```yaml

Loading…
Cancel
Save