Skip to content

nicolas-fricke/google-doc-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Doc Blog

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/

Prerequisites

  • 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

Usage (local)

  1. Run bundle install to install all required dependencies
  2. Run bundle exec ruby bin/setup.rb and follow the instructions to set up your environment
  3. Execute bundle exec rackup -p 4567 config.ru to start the server
  4. You should be able to open the webapp via http://localhost:4567 in your browser

Usage (docker)

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

Running the tests

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

Built With

Authors

Please check out the list of contributors who participated in this project.

License

This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details

About

Simple web-app turning a Google Drive folder into your personal blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published