I think you have looked at the tutorial from Mr. Heinemeier Hansson at least once or twice and have a similar setup.
rails new kamal_pg --css tailwind --skip-test --database=postgresql
cd kamal_pg
based on DigitalOcean guide
Create local project
local$ rails new appname -T -d postgresql
local$ rails g scaffold Story title:string body:text
local$ rails db:migrate
Keyboard newmen gm610
Wireless or Wire mode:
Bluthouth connection:
" Vim color scheme based on http://github.com/jpo/vim-railscasts-theme | |
" | |
" Name: railscasts.vim | |
" Maintainer: Ryan Bates | |
" License: MIT | |
set background=dark | |
hi clear | |
if exists("syntax_on") | |
syntax reset |
# This template is inspired on https://gist.githubusercontent.com/lazaronixon/7815d84702f277ead5e89c9f2aa5581f/raw/rubocop.yml | |
require: | |
- rubocop-performance | |
- rubocop-rails | |
- rubocop-rspec | |
Rails: | |
Enabled: true |
{ | |
"editor.fontSize": 14, | |
"editor.rulers": [ | |
75, | |
80, | |
85, | |
100, | |
120 | |
], | |
"explorer.openEditors.visible": 10, |
DATABASE_HOST=app_name-db | |
DATABASE_USER=postgres | |
DATABASE_PASSWORD=password |
APPLICATION_NAME = app_name | |
WEB_CONTAINER_NAME = $(APPLICATION_NAME)-web | |
.DEFAULT_GOAL := help | |
CONTAINER_APP_MANAGER = docker ## Podman vs Docker | |
# Docker stuff | |
attach: ## Attach running web container to see logs | |
$(CONTAINER_APP_MANAGER) attach $(APPLICATION_NAME)_$(WEB_CONTAINER_NAME)_1 |
The "C" Bible | |
1:1 In the beginning Unix created the Kernel and the C. | |
1:2 And the Kernel was without form and (void); and obscurity was on | |
the face of the C. And the spirit of Unix moved upon the face | |
of the C. | |
1:3 And Unix said, Let there be Code: and there was Code. | |
1:4 And Unix saw the Code, that it was tight: and Unix divided the | |
unstructured from the GOTO-less. | |
1:5 And Unix called the Code compact, and the unstructured he called | |
spaghetti. And the Program and the Module were the first day. |
directories: | |
"/": | |
IrresponsibleModule: | |
enabled: false | |
FeatureEnvy: | |
enabled: false | |
NilCheck: | |
enabled: false |