A Morning Brew-inspired simple content management system that allows writers to create stories, attach stories to a particular newsletter, and ultimately "publish" the newsletter to an API.
-
Install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
-
Install Ruby
$ brew install ruby
-
Install Rails
$ gem install rails
-
Install PostgreSQL
$ brew install postgresql
-
Clone the repo and cd into the folder
-
Bundle Install
$ bundle install
-
Create migrations, migrate and seed:
$ rails db:create $ rails db:migrate
-
Obtain Lyra API key and include in
.env
in the following format:
export LYRA_API_KEY=<YOUR API KEY HERE>
-
Last step, launch the rails server!
$ rails s -p 4000