Simple web-app using article_json
to turn a Google Drive folder into your personal blog Edit
Have a look at this blog hosted on Heroku: https://google-doc-blog.herokuapp.com/
- You need a running
ruby
installation >= version 2.3 - Make sure to have the
bundler
gem installed
, or
- You need a running docker installation >= version 19.3
- Run
bundle install
to install all required dependencies - Run
bundle exec ruby bin/setup.rb
and follow the instructions to set up your environment - Execute
bundle exec rackup -p 4567 config.ru
to start the server - You should be able to open the webapp via
http://localhost:4567
in your browser
First, build the image
docker build --tag google-doc-blog:latest ./
Then, run the setup script in a container
docker run --rm \
--interactive \
--volume $PWD/config:/home/blog/config \
google-doc-blog:latest \
ruby bin/setup.rb
Finally, start the web server in a container
docker run --rm \
--publish 4567:4567 \
--volume $PWD:/home/blog \
google-doc-blog:latest \
rackup --port 4567 --host 0.0.0.0 config.ru
Execute bundle exec rspec
to run the entire test suite.
With docker, run
docker run --rm \
--volume $PWD:/home/blog \
google-doc-blog:latest \
rspec
article_json
- The gem parsing Google documents into HTML / AMP / FBIAgoogle-drive-ruby
- Google Drive connector- Sinatra - Web framework
Please check out the list of contributors who participated in this project.
This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details