Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 745 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 745 Bytes

Blazer Dev

🔥 Dev app for Blazer

Install

git clone https://github.com/ankane/blazer.git
git clone https://github.com/ankane/blazer-dev.git
cd blazer-dev
bundle
bin/rake db:create db:migrate

Add MovieLens data if desired

createdb movielens
curl https://raw.githubusercontent.com/ankane/movielens.sql/master/movielens.sql | psql -d movielens
echo 'BLAZER_DATABASE_URL=postgres://localhost/movielens' >> .env
rake db:seed

Otherwise, create .env with:

BLAZER_DATABASE_URL=postgres://localhost/yourdb

Run

bin/rails server

Open http://localhost:3000 and start developing.

Thanks for helping to make Blazer better for everyone!