Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.09 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.09 KB

My Portfolio Website

This is a website representing my portfolio! It contains links to my finished projects and some info about me.

It's written using ReactJS on Rails, using languages such as RUBY, JavaScript, HTML, and CSS.

https://www.masoneyre.org

Local development

Everything runs in Docker — no local Ruby/Node install required.

docker compose up --build

First-time setup (create/migrate the database):

docker compose exec api bin/rails db:prepare

Run the Rails test suite:

docker compose exec api bin/rails test

Production

Dockerfile at the repo root builds a standalone production image: it builds the React client and bundles it into the Rails app's public/ directory, then serves both from a single Puma process. Build and run it with:

docker build -t portfolio .
docker run -e RAILS_MASTER_KEY=... -e DATABASE_URL=... -p 3000:3000 portfolio