Personal Rails 8 portfolio using Tailwind for styling.
- Install dependencies:
bundle install bin/rails db:prepare yarn install --check-files
- Start the dev server with Tailwind watcher:
bin/dev
Only authenticated users can create, edit, or delete projects/case studies.
- Create an admin account via the Rails console (choose your own credentials):
User.find_or_create_by!(email: "you@example.com") do |user| user.name = "You" user.password = "super-secret-password" end
- Visit
/session/new(or click Sign in in the header) and log in with that email/password. - Use the Sign out button in the header when you are done. Logged-out visitors can only read published content.