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

main.go:119: load templates: open templates: no such file or directory #234

Closed
somenxavier opened this issue Jan 6, 2020 · 4 comments
Closed
Labels

Comments

@somenxavier
Copy link

@somenxavier somenxavier commented Jan 6, 2020

After following guide, I get:

$ writefreely -c config.ini 
2020/01/06 22:21:54 Starting WriteFreely ...
2020/01/06 22:21:54 Loading config.ini configuration...
2020/01/06 22:21:54 Loading templates...
ERROR: 2020/01/06 22:21:54 main.go:119: load templates: open templates: no such file or directory
@thebaer thebaer added the bug? label Jan 6, 2020
@thebaer

This comment has been minimized.

Copy link
Member

@thebaer thebaer commented Jan 6, 2020

Hi @somenxavier, are you running writefreely from the same directory where you have the templates directory? (And keys and static, etc.)

@somenxavier

This comment has been minimized.

Copy link
Author

@somenxavier somenxavier commented Jan 8, 2020

I just run what is written in Getting Started:

  1. writefreely --config
  2. writefreely --gen-keys
  3. writefreely

I choose sqlite3

@thebaer

This comment has been minimized.

Copy link
Member

@thebaer thebaer commented Jan 8, 2020

Great, which directory are you in? It should contain a templates folder.

If it doesn't, you'll want to change into the folder where you put WriteFreely.

@thebaer

This comment has been minimized.

Copy link
Member

@thebaer thebaer commented Jan 10, 2020

Closing this now since this is likely isn't a bug. But please feel free to continue commenting here.

@thebaer thebaer closed this Jan 10, 2020
@thebaer thebaer added not a bug and removed bug? labels Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.