网络ghost_Ghost入门设计师指南

网络ghost

Ghost grafitti

photo : Divine Harvester

照片:神圣收割机

Many designers are just that: Designers.

许多设计师就是这样: Designers

They don’t want to be programmers and therefore have learned to leverage existing content management systems to provide the functionality that their clients require.

他们不想成为程序员,因此已经学会了利用现有的内容管理系统来提供其客户所需的功能。

And there’s absolutely nothing wrong with that.

绝对没有错。

But the issue many of us encounter is that the applications we’ve been leveraging: Joomla, WordPress, and Drupal, and so on have grown up along with us.

但是我们许多人遇到的问题是,我们一直在利用这些应用程序:Joomla,WordPress和Drupal等与我们一起成长。

Unfortunately they are no longer the lightweight, simple CMS and/or blog engines they once were.

不幸的是,它们不再是曾经的轻量级,简单的CMS和/或博客引擎。

That causes overhead. Overhead for us when trying to skin them to look like the design our client signed off on.

这导致开销。 当我们尝试使它们外观看起来像客户签署的设计时,这对我们来说是开销。

Overhead for the server, since they’re simply bigger, more demanding creatures.

服务器的开销很大,因为它们只是更大,要求更高的生物。

And overhead for our poor clients, in the form of information overload, when they try to log in and actually do something.

当我们尝试登录并实际执行某项操作时,以信息过载的形式给我们可怜的客户带来额外的开销。

NASA Mission Control

Welcome to WordPress!” Photo :mtsn

欢迎使用WordPress! ”照片:mtsn

Have you taken a step back and looked at the WordPress administration panel lately?

您是否已退后一步,最近查看了WordPress管理面板?

Dropping a client into that admin panel is like dropping them into NASA Mission Control. It can often mean headaches for them AND you.

将客户端放入该管理面板就像将其放入NASA Mission Control。 对于他们和您来说,这通常可能意味着头痛。

There’s a need for an elegant, fast, and flexible CMS.

需要一种优雅,快速且灵活的CMS。

! 幽灵介绍 (Boo! Introducing Ghost)

This is where Ghost comes in! Ghost is a Blog engine and NOTHING else. The developers over at Ghost.org aim to keep it that way.

这就是Ghost进来的地方! Ghost是Blog引擎,而其他则没有。 Ghost.org的开发人员旨在保持这种状态。

This is really good news for a number of reasons: There’s a lack of scope creep in the application. Things stay simple when you’re only trying to do one thing and do it well.

这确实是个好消息,其原因有很多:应用程序中缺少范围爬升。 当您只想做一件事情并且做好事时,事情就变得简单了。

The administration panel for Ghost isn’t just simple, it’s beautiful, and it’s drag and drop adjustable.

Ghost的管理面板不仅简单,漂亮,而且拖放功能可调。

Because it’s such a nicely designed administration interface, you’ll have way less client resistance than you may be used to. Ghost is clean, simple, easy, and has no higher aspirations than becoming better at what it’s intended to do.

因为它是一个设计精美的管理界面,所以与以往相比,您可以减少客户端的阻力。 Ghost干净,简单,易用,并且没有比在其预期的用途上变得更好而更高的抱负。

Besides the philosophical simplicity, presentational beauty, and ease of client use, there’s something else.

除了哲学上的简单性,表象之美和易于客户使用之外,还有其他方面。

Ghost’s underlying programming language is based on node.js. Essentially that’s JavaScript running server-side, so you won’t have to learn PHP, Ruby or any other server side programming language. It’s the same kind of JavaScript syntax that you’re probably, at least, somewhat familiar with.

Ghost的基础编程语言基于node.js。 本质上,这是在服务器端运行JavaScript,因此您不必学习PHP,Ruby或任何其他服务器端编程语言。 至少您可能有点熟悉这种JavaScript语法。

So, whether you’re a new designer looking for something to add to your service offering, or a long-time designer looking for some fresh air for your service offerings, read on.

因此,无论您是正在寻找可为您的服务产品添加一些东西的新设计师,还是长期的设计师正在为您的服务产品寻找新鲜的空气,请继续阅读。

召唤鬼魂 (Summoning the Ghost)

Today, I just want to get you set up with a working Ghost install for you to tinker with. Like any new technology, you’re going to want to play with it to truly understand it’s power.

今天,我只想让您设置可以正常运行的Ghost安装,以便您进行修改。 像任何新技术一样,您将需要使用它来真正了解其功能。

In our next article, we’ll look at how you can take control of Ghost’s powerful theming system.

在下一篇文章中,我们将研究如何控制Ghost强大的主题系统。

There are now lots of hosting companies that cater for Ghost sites, including some of the big boys like Amazon and DigitalOcean. Many are cheap — some are even free.

现在有很多托管公司可以满足Ghost网站的需求 ,其中包括亚马逊和DigitalOcean等大型公司。 许多便宜,有些甚至免费。

Because node.js has some server-side requirements that aren’t compatible with all shared hosting, I’m going to use Microsoft Azure in this example. If you don’t currently have an Azure account, fear not. You can still follow along with the free demo offering on the Azure home page.

由于node.js的某些服务器端要求与所有共享主机都不兼容,因此在此示例中,我将使用Microsoft Azure 。 如果您当前没有Azure帐户,请不要担心。 您仍然可以在Azure主页上关注免费的演示产品。

在Microsoft Azure上部署Ghost。 (Deploying Ghost on Microsoft Azure.)

1). Visit http://azure.microsoft.com/ with your favorite browser. Log in and go to the Management Portal (https://manage.windowsazure.com/).

1)。 使用您喜欢的浏览器访问http://azure.microsoft.com/ 。 登录并转到管理门户( https://manage.windowsazure.com/ )。

From the Azure Management page, click the Web Sites tab on the left of your screen, and then click the +New button on the bottom left of the screen to open the Menu Tab.

在“ Azure管理”页面中,单击屏幕左侧的“ 网站”选项卡 ,然后单击屏幕左下方的“ +新建”按钮以打开“菜单”选项卡。

Initiating a new Ghost deployment

2). In the +New menu, from left to right choose Compute, Web Site, and then click From Gallery to open the Add Web App dialog. Scroll through the list of applications and click the entry for Ghost.

2)。 在+“新建”菜单中,从左到右选择“计算”,“网站”,然后单击“从图库”以打开“添加Web应用程序”对话框。 滚动浏览应用程序列表,然后单击Ghost条目。

Select Ghost from the apps list.

Select Ghost from the apps list.

从应用程序列表中选择Ghost。

On the lower right of the Add Web App dialog, click the “Next” arrow to open the Configuration page of the Add Web App dialog. You have several choices to make here:

在“添加Web应用程序”对话框的右下角,单击“下一步”箭头以打开“添加Web应用程序”对话框的“配置”页面。 您可以在此处进行几种选择:

  • 网址 (URL)

    This is the URL that your Ghost deployment will be publicly visible. Initially you will use a sub domain such as in my example: GhostExample.azurewebsites.net. After deployment you can apply a domain name to the deployment.

    这是您的Ghost部署将公开显示的URL。 最初,您将使用一个子域,例如在我的示例中:GhostExample.azurewebsites.net。 部署后,您可以将域名应用于部署。

  • 地区 (Region)

    This is the geographical location of the datacenter hosting your deployment. In my case I chose East US. Chose the appropriate location for your needs.

    这是托管您的部署的数据中心的地理位置。 就我而言,我选择了美国东部。 选择适合您需要的位置。

  • 电子邮件服务名称 (Email Service Name)

    This entry is here to establish the deployment’s email capability for sending automatic emails, password recovery, and so on. This can be changed after deployment as well.

    该条目在此处用于建立部署的电子邮件功能,以发送自动电子邮件,恢复密码等。 部署后也可以更改。

    In this example, I chose my Gmail account for simplicity. If you use Gmail, make sure to check your spam-trap because it’s fairly common for Gmail to consider Ghost’s log-in attempt to be an unauthorized attempt, in which case Gmail will send you a message regarding the situation and remedies.

    在此示例中,为简单起见,我选择了我的Gmail帐户。 如果您使用Gmail,请确保检查您的垃圾邮件陷阱,因为Gmail普遍认为Ghost的登录尝试是未经授权的尝试,在这种情况下,Gmail会向您发送有关此情况和补救措施的消息。

  • 电子邮件服务用户名 (Email Service Username)

    This entry is almost always the actual email address associated with the Email Service Name.

    该条目几乎总是与电子邮件服务名称关联的实际电子邮件地址。

  • 电子邮件服务密码 (Email Service Password)

    This is the actual password for the email account name that you entered in the Username field.

    这是您在“用户名”字段中输入的电子邮件帐户名的实际密码。

Configuring your App

Configuring your App

配置您的应用

Configure these form fields as you wish and then click the Checkmark icon on the lower right of the dialog.

根据需要配置这些表单字段,然后单击对话框右下方的“ 对勾”图标。

Azure begins the provisioning process. You’ll see a status message at the bottom of your page and the status indicator will be “Creating”.

Azure开始配置过程。 您会在页面底部看到状态消息,状态指示器将为“正在创建”。

This can sometimes take a few minutes, so don’t worry that it’s failing, just be patient.

有时这可能需要几分钟,所以请不要担心它会失败,请耐心等待。

The Azure management page

When provisioning is complete you will see a confirmation message at the bottom of the page and the status for your new site will change to “Running”.

设置完成后,您将在页面底部看到确认消息,并且新站点的状态将变为“正在运行”。

4). In the URL column, click the link for your new Ghost deployment to open it in your browser.

4)。 在“ URL”列中 ,单击新Ghost部署的链接以在浏览器中将其打开。

Ghost lives!

Assuming a successful deployment, you will be presented with a page similar to this.

假设成功部署,将向您显示与此类似的页面。

5). As the welcome message instructs, add “/ghost/” to the URL in your browser’s address bar.

5)。 按照欢迎消息的指示,在浏览器地址栏中的URL上添加“ / ghost /”。

In my example it would be http://GhostExample.AzureWebSites.net/ghost/. This URL is also where you will return to administer the deployment.

在我的示例中,它是http://GhostExample.AzureWebSites.net/ghost/。 您还将返回此URL来管理部署。

Ghost login screen

On the first visit Ghost requires you to create an account for yourself. These values are for your internal account on the new deployment.

首次访问时,Ghost要求您为自己创建一个帐户。 这些值适用于新部署中的内部帐户。

6). Enter your Name, Email, and add a Password, and then click the Sign Up button.

6)。 输入您的姓名,电子邮件并添加密码,然后单击“注册”按钮。

Default Ghost website theme

After creating your initial account, Ghost will redirect to the admin interface.

创建初始帐户后,Ghost将重定向到管理界面。

Take some time to explore the interface, become familiar with what’s there, try posting a new article, and so on.

花一些时间来探索界面,熟悉其中的内容,尝试发布新文章,等等。

Consider what you’ve accomplished in under five minutes: you’ve deployed a state of the art blog platform on a state of the art server. That’s something that just wasn’t an option as little as five years ago. While the result is a nice accomplishment, with very little effort, it’s only the beginning. There remain such tasks as modifying the visual appearance of the deployment, modifying the settings, creating content, and so on.

考虑一下您在不到五分钟的时间内完成的工作:您已经在最新的服务器上部署了最新的博客平台。 至少五年前,这是不可能的选择。 尽管取得了不错的成就,但付出了很少的努力,但这仅仅是开始。 剩下的任务包括修改部署的外观,修改设置,创建内容等。

In the next installment in this series you will learn how to download the site files to your local computer and modify the theme, giving your deployment its own unique appearance.

在本系列的下一部分中,您将学习如何将站点文件下载到本地计算机并修改主题,使部署具有独特的外观。

See you for Part 2!

第二部分见!

翻译自: https://www.sitepoint.com/getting-started-with-ghost/

网络ghost

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
问题: __all__ = ['ghost_net']报错 回答: 这个报错可能是由于在代码中使用了'__all__'这个特殊变量导致的。'__all__'是一个Python中的特殊变量,用于指定模块中可以被导入的公共接口。在这个特殊变量中,我们可以列出模块中想要导出的函数、类或变量的名字。然而,当使用这个特殊变量时,需要确保列出的名字是有效的,并且确保这些名字在模块中被定义或导入。 在你提供的问题中,报错信息没有明确指出具体的错误原因。因此,我无法给出确切的解决方案。但是,我可以给出一些常见的可能原因和解决方法: 1. 确保'ghost_net'在当前模块中被定义或导入。如果没有定义或导入'ghost_net',那么在'__all__'中列出它将导致报错。请检查代码中是否定义了'ghost_net',并确保它的拼写和大小写与'__all__'中的一致。 2. 检查代码中是否存在其他语法错误或命名错误。有时,'__all__'报错可能是由于代码中其他部分的错误导致的。请仔细检查代码,确保没有其他语法错误,并且所有的变量和函数都被正确命名和定义。 3. 如果你的代码中使用了其他导入的模块或库,也需要确保这些模块或库已经正确安装和导入。如果你在使用nltk库里的reuters语料库时遇到了网络问题无法下载,那么可能会导致后续代码中的报错。请确保你的网络连接正常,并按照nltk库的文档正确下载和安装reuters语料库。 根据你提供的引用信息,其中包含了一些关于nltk库下载报错的相关信息。但是这些信息和你提供的问题中的'__all__ = ['ghost_net']'似乎没有直接的联系。因此,我无法确定这些引用内容和你的问题之间的具体关系。希望以上给出的解决方法对你有所帮助。如果问题还未解决,请提供更多的信息和引用内容,以便我能够更准确地回答你的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [NLTK下载报错[nltk_data] Error loading reuters: [Errno 11004] [nltk_data] getaddrinfo](https://blog.csdn.net/weixin_43846562/article/details/129663863)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* *3* [python,uwsgi_uwsgi 安装报错,python,uwsgi - phpStudy](https://blog.csdn.net/weixin_31099291/article/details/115954017)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值