Code Monkey home page Code Monkey logo

Comments (5)

symeneses avatar symeneses commented on June 24, 2024 1

@SangamSwadiK could you check the logs? If so, please copy the errors here.

Reading the docs, I would try this configuration:

build:
  preview_docker_image: forestryio/hugo:latest
  preview_command: bundle exec jekyll build
  preview_output_directory: "snowlake-v1.2/_site"
  mount_path: "/srv"
  working_dir: "/srv/snowlake-v1.2"

from data-umbrella-website.

SangamSwadiK avatar SangamSwadiK commented on June 24, 2024 1

@SangamSwadiK could you check the logs? If so, please copy the errors here.

Reading the docs, I would try this configuration:

build:
  preview_docker_image: forestryio/hugo:latest
  preview_command: bundle exec jekyll build
  preview_output_directory: "snowlake-v1.2/_site"
  mount_path: "/srv"
  working_dir: "/srv/snowlake-v1.2"

Thanks !
I had given the wrong path. I changed it now. The preview is working now.

The preview docker image must be forestryio/ruby:2.6 though.

from data-umbrella-website.

symeneses avatar symeneses commented on June 24, 2024 1

Great news! Where can we see the preview?
We would need to add instructions in the Contributing guide to add/edit posts using Forestry.

from data-umbrella-website.

SangamSwadiK avatar SangamSwadiK commented on June 24, 2024

Hi, I tested forestry , I was able to add posts and content.
However I ran into some problems in preview server within forestry.

I followed https://forestry.io/docs/troubleshooting/build-issues-for-sites-in-subdirectories/
and did as mentioned, but still facing the same problem.

Apart from that, I was able to write posts and add assets and it directly got committed into the repo.

I used the following settings.

image

image

I think there could be a mistake in what I did, any suggestions on how to fix this ?

Thanks.

from data-umbrella-website.

SangamSwadiK avatar SangamSwadiK commented on June 24, 2024

I guess I can show it on the call, because once the preview link is created, it can expire soon because of inactivity.

from data-umbrella-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.