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

Question about Installing Cachet #3201

Closed
y-ohara8814 opened this issue Jul 27, 2018 · 9 comments
Closed

Question about Installing Cachet #3201

y-ohara8814 opened this issue Jul 27, 2018 · 9 comments
Labels

Comments

@y-ohara8814
Copy link

(First of all, I'm japanese and so my English may not be good、sorry.)
Hi,
I'm trying to install CachetHQ ,following official documantation(https://docs.cachethq.io/docs/installing-cachet#section-running-cachet-on-apache).

But some problems occuered and my job stopped.

1.can not find .env file in Cachet
Following official documentation,

Configuring a database
By default Cachet comes with a .env.example file. You'll need to rename this file to just .env regardless of what environment you're working on.

But after I downloaded source code with Git, there is no .env file in Cachet directory.
So I made .env file which includes some text written in official documentation as "Text".
Is it right way or Did I make any mistake when downloading source code??

2.way to set application key
Following official documentation,

php artisan key:generate

But when I execute this command, the following message appears.

Could not open input file: artisan

To create application key, what is lacking on my environment?

I hope someone whould give some advice to me...

regards,

@Dozecloud-llc
Copy link

Dozecloud-llc commented Aug 1, 2018

What linux distribution are you on?

@Atriusftw
Copy link

Hello!

In the Cachet directory, do the following:

  1. Copy .env.example to .env
  2. Run composer install --no-dev -o (Make sure you have composer)
  3. Run php artisan key:generate
  4. Run php artisan app:install

@y-ohara8814
Copy link
Author

Thanks for comments, but I could install CachetHQ myself.
(I executed install command on wrong directory and located source codes on wrong directory.
And I'm on Amazon linux so I investigated how to install required programs.)

However some problems still exist.
There is no instruction manual about CachetHQ in Japanese, so I can't run server monitoring operation.
Is there any instruction manual about CachetHQ in English?

@Dozecloud-llc
Copy link

@Dozecloud-llc
Copy link

https://docs.cachethq.io/docs/prerequisites

That is the requirements for cachet

@Dozecloud-llc
Copy link

Dozecloud-llc commented Aug 2, 2018

Here it is in Japanese

前提条件
Cachetの使用を開始するには、いくつかの前提条件が必要です。

簡単な編集
アプリケーションの前提条件
サーバーに少なくとも次のものがインストールされている必要があります。

PHP 5.5.9では、ext-gd、ext-simplexml、mcrypt、ext-xmlもインストールする必要があります。
作曲家とext-mbstring、ext-tokenizer
キャッシングのためのAPCまたはRedis。
MySQL、PostgreSQL、SQLiteなど、DB用のデータベースドライバ。
Git
SQLite
SQLiteはサポートしていますが、大量のトラフィックがあるステータスページには使用しないことをお勧めします。

MySQLのタイムゾーン情報
MySQLデータベースが正しいタイムゾーン情報で更新されていることを確認してください。これにより、メトリックが正しく表示されます。https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html

開発者の前提条件
もしあなたがCachetに貢献したいのであれば、いくつかの依存関係が必要かもしれません。あなたが探しているものに応じて。

私たちのCSSはSCSSからコンパイルされているので、コンパイルするには以下が必要です:

Node.js
NPM
バワー
ギャルプ

@y-ohara8814
Copy link
Author

Thanks for comment, jsargent7089.
But I already saw that website and installed CachetHQ successfully.
What I mean is, I want to know how to run CachetHQ and monitor the status of some website.

Now I can access the Dashboard but I can't find a textbox or something to enter the address and make the website to the target of monitoring status.
Maybe is it required that write website's address in some file directly to make the website to the target of monitoring status?Is the Dashboard only to monitor the statues?

@jbrooksuk
Copy link
Member

Now I can access the Dashboard but I can't find a textbox or something to enter the address and make the website to the target of monitoring status.

Cachet doesn't do this natively. You need to use a plugin (see https://docs.cachethq.io/docs/addons).

@y-ohara8814
Copy link
Author

@jbrooksuk
thank you for comment.
Now, I'm tring to install cachet-monitor, but an error occured.

would you give me some advice?
CastawayLabs/cachet-monitor#96

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants