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

データの保存先を変更 #32

Closed
koda-masaru opened this issue Apr 27, 2015 · 4 comments
Closed

データの保存先を変更 #32

koda-masaru opened this issue Apr 27, 2015 · 4 comments

Comments

@koda-masaru
Copy link
Contributor

  • Windows環境で使っているのだが、データの保存先がシステムドライブなのがちょっと困る。
  • 環境変数等でデータドライブに保存先を変更するようにできないだろうか。
@koda-masaru koda-masaru added this to the 0.5.1 milestone May 4, 2015
@koda-masaru
Copy link
Contributor Author

簡単なので対応中。
次のリリースで出します。

koda-masaru added a commit that referenced this issue May 7, 2015
データのエクスポート #31
データの保存先を変更 #32
markdownのCSS #34
@koda-masaru koda-masaru mentioned this issue May 7, 2015
@koda-masaru
Copy link
Contributor Author

0.5.1 pre1 で環境変数でデータの保存先変更に対応してみました。
「KNOWLEDGE_HOME」を環境変数に指定すると、そこに指定したディレクトリのパスにデータを保存します。

@yuann
Copy link

yuann commented May 9, 2015

早速の対応ありがとうございます。Windows 7 環境で動作することを確認しました。

問題では無いのですが、階層が1段深いような気がします。
GitBucketやJenkinsでは環境変数で設定したディレクトリの直下にデータが格納されますが、knowledgeでは更に「.knowledge」ディレクトリを作成してその中にデータを格納しているようです。

@koda-masaru
Copy link
Contributor Author

なるほど。それもそうですね。
では、次のリリースでは環境変数のディレクトリに直接データを格納するように変更します。
(環境変数が指定されていれば「.knowledge」ディレクトリは作らないようにする)

koda-masaru added a commit that referenced this issue May 10, 2015
   -> .knowledgeディレクトリではなく、環境変数の直下にデータを格納
GitHubの絵文字に対応してもらえると嬉しい #33
コメントでもmarkdownを使えるようにする #37
プレビュー時と実際の表示が異なる #20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants