Skip to content

JovinIsMe/AngelicoBlog

Repository files navigation

AngelicoBlog

Yes, just another ordinary personal blog.

Preview:
alt text

Running via docker compose

  1. Start the container with the DB
    docker-compose up
  2. Access the blog from
    http://localhost:3000
  3. Create dummy author
    docker-compose run web rails db:seed
  4. # from
    http://localhost:3000/authors/sign_in

Running in Termux

  • Initialize Database
    initdb ~/pg/

  • Accessing PostgreSQL Database
    psql postgres

  • Activate PostgreSQL Database
    postgres -D ~/pg/

  • Run Rails Server
    bin/rails server