2021-04-30 02:13:36 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title><%= content_for?(:title) ? yield(:title) : SiteSetting.title %></title>
|
|
|
|
|
2024-08-29 17:38:27 +08:00
|
|
|
<%= discourse_stylesheet_link_tag(:ember_cli) %>
|
2021-04-30 02:13:36 +08:00
|
|
|
|
|
|
|
</head>
|
|
|
|
<body class="requires-ember-cli">
|
|
|
|
<div class='warning'>
|
|
|
|
<h1>Ember CLI is Required in Development Mode</h1>
|
|
|
|
|
|
|
|
<p>To run Ember CLI in development mode, please do the following:</p>
|
|
|
|
|
|
|
|
<pre><code>$ bin/ember-cli</code></pre>
|
|
|
|
|
|
|
|
<p>Then visit the following URL to use Discourse:</p>
|
|
|
|
|
2022-12-02 06:36:14 +08:00
|
|
|
<h3><a href="http://<%= Discourse.current_hostname %>:4200<%= Discourse.base_path %>">http://<%= Discourse.current_hostname %>:4200<%= Discourse.base_path %></a></h3>
|
2022-12-05 21:44:16 +08:00
|
|
|
|
|
|
|
<p>To disable this warning and allow direct Rails access, start the server with <code>ALLOW_EMBER_CLI_PROXY_BYPASS=1</code></p>
|
2021-04-30 02:13:36 +08:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|