简体   繁体   English

如何在 Neos CMS 中创建新项目?

[英]How do I create a new project in Neos CMS?

I recently turned a computer into a Ubuntu server.我最近将一台计算机变成了 Ubuntu 服务器。 I have installed all dependencies following the article below http://neos.readthedocs.io/en/stable/GettingStarted/Installation.html我已经按照以下文章安装了所有依赖项http://neos.readthedocs.io/en/stable/GettingStarted/Installation.html

My version of Ubuntu (or Apache) did not have a "htdocs" folder like the previous article suggested, so I created a folder called newsletter in var/www/html per this article https://askubuntu.com/questions/683953/where-is-apache-web-root-directory-on-ubuntu我的 Ubuntu(或 Apache)版本没有上一篇文章建议的“htdocs”文件夹,所以我根据这篇文章在 var/www/html 中创建了一个名为 newsletter 的文件夹https://askubuntu.com/questions/683953/ where-is-apache-web-root-directory-on-ubuntu

Then I try to complete step 2 of "Fundamental Instruction" by using the following code然后我尝试使用以下代码完成“基本指令”的第 2 步

cd /your/htdocs/
php /path/to/composer.phar create-project neos/neos-base-distribution Neos

but it does not work.但它不起作用。

Instead of inputting "cd /your/htdocs" I navigate to /var/www/html I am getting "Could not open input file: /path/to/composer.phar"我没有输入“cd /your/htdocs”,而是导航到 /var/www/html 我得到“无法打开输入文件:/path/to/composer.phar”

I believe I already have composer installed, so I don't really want to have to go through https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-16-04我相信我已经安装了作曲家,所以我真的不想通过https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu- 16-04

Should I change "/path/to/composer.phar"?我应该更改“/path/to/composer.phar”吗? Has the location changed?位置变了吗?

It look like your composer is not in the given path /path/to/composer.phar看起来您的作曲家不在给定的路径/path/to/composer.phar

composer is not included in a bare bone Ubuntu, so you should have to follow the setup. composer 不包含在裸机 Ubuntu 中,因此您必须遵循设置。 If you want to test Neos, check https://bitnami.com/stack/neos如果你想测试 Neos,请查看https://bitnami.com/stack/neos

Should I change "/path/to/composer.phar"?我应该更改“/path/to/composer.phar”吗? Has the location changed?位置变了吗?

This path is just an example.这条路只是一个例子。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM