Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] page doesn't open on the browser directly #119

Open
Farreeda opened this issue Aug 25, 2023 · 1 comment
Open

[Bug] page doesn't open on the browser directly #119

Farreeda opened this issue Aug 25, 2023 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@Farreeda
Copy link

This error appears
julia> serve() ┌ Franklin Warning: in <config.md> │ No 'config.md' file found. It is recommended to keep one. │ │ Relevant pointers: │ - workflow and folder structure: https://franklinjl.org/workflow/ └ ERROR: ArgumentError: The current directory doesn't have a _layoutor_cssfolder; change directory to a valid Franklin folder.
Each time it only works when changing the commit by those steps written by @TheCedarPrince

  1. Move to the dev branch of the website
  2. Run git log to make sure I am on commit "Remove Franklin compat entry"
  3. If not, add the remote by doing "git remote add juliahealth https://github.com/JuliaHealth/juliahealth.github.io"
  4. Then, pull from the remote by doing "git fetch juliahealth"
  5. Then, merge the local dev branch with juliahealth/dev by doing "git merge juliahealth/dev" from your local dev branch
  6. Open Julia then activate the environment
  7. Instantiate or update the environment at this point
  8. Run "using Franklin" and then "serve()"
@TheCedarPrince
Copy link
Member

Oh! Since you are working on a fork, each time you want to update your branches to match the one on the original repo, you have to pull in the changes from the original repo by doing remote fetch juliahealth. Once that is done, you can merge your branches with the origin branch you are targeting. You also may need to rebase the forked version of the branch on the original fetched branch you are wanting to match to.

Otherwise, I do not encounter this bug. Things seem to be working fine on my end; wonder if there may be some kind of git issue. If the above doesn't work, maybe try recloning the repo onto your computer and then making sure you can pull recent information. Let me know how things work/don't work out for you! 😄

Thanks for opening the issue!

@TheCedarPrince TheCedarPrince added bug Something isn't working documentation Improvements or additions to documentation labels Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants