0

我在 github 上创建了一个勺刀演示库,并将其导入我的 Codenvy IDE。Codenvy 要求我从下拉菜单中“选择项目类型”,其中包括:PHP、Rails 和十几个其他选项。是否有一个正确的选项或者任何项目类型都允许我处理这个 repo?

4

2 回答 2

0

您可以选择空白类型,然后选择 Java/Web/Tomcat7 runner

于 2014-11-02T10:48:10.317 回答
0

Within Codenvy, a project type and a runner environment are separate concepts. The project type defines behaviors of the project with instructions on how to map source files and builders. Project type is primarily about designating the right information for editors and associated plug-ins, but will not have a significant bearing on how you run the project.

The runner environment is associated separately. The runner environment can be provided by Codenvy or yourself. These are docker containers that will run your code. So if you select a blank project type, you have your choice of runner environments later on. In some cases, project type will narrow the list of available system runner environments. For example if you choose a maven project, you will not be given the PHP runner environment options. The blank project type leaves all runner environment options available.

At any time, you can override the system runner environments with one of your own. You can write a custom environment as a Dockerfile with the Run With... entry.

于 2014-11-02T13:47:00.240 回答