-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
How to work with meteor projects? #392
Comments
FROM codenvy/node When in a workspace, open a terminal:
Then click Refresh button on the project explorer panel, you will see your new project. Double click on it. Configure as Blank. In the CMD command widget define a new command and its preview URL: Command: Preview URL: I followed meteor official guide. We'll publish a detailed meteor tutorial in Che docs. |
Thanks for the help. 👍 But when I created this issue, my project did not start, breaking on mongo start, first with returnCode 1 then with returnCode 45. I'll try again when I get home. The image "codenvy/node" has a 0.12 node version, how do I update this to the 5.6 ? |
Inherit from codenvy/ubuntu_jre and build any stack you want. |
RUN sudo apt-get update && sudo apt-get install locales -y && This should be part of your Dockerfile. |
And so It is, I've copy-pasted what you input on the first comment. On the log.txt @ line 76, has an error, that maybe is causing the locale problem. |
Try installing locales after you have installed meteor. your version of a Dockerfile isn't the exact copy of what I have shared. Let's see if it helps. Next week, we'll publish a codenvy/meteor image with a short how-to. |
Sry, was not the exact copy, I've changed the order of the commands, I didn't realize that the order could make some difference. But today I've used your command, but seems that my image is different from yours.
Here's the log.txt. I did some research, and some people use an environment variable after 'from' declaration.
But this does not worked for me. I'll wait for the codenvy/meteor image, thanks. |
Indeed, that one failed. I experimented right in the terminal. This one works though: FROM codenvy/node |
Hey, thanks for the 'codenvy/meteor' stack. 👍 But, even with this stack I can't run a meteor project, at least inside 'projects' folder. Not sure why, but some permissions cannot be applied on 'projects' folder. On projects folder:
On home folder:
I've tryed chmod and chown, but nothing can make my projects work inside 'projects' folder. |
Can you run I tried it this way: cd projects No issues so far. What steps should I take to reproduce your issue? |
Ok, here it is. On /
On /projects
On /projects/simple
On ~
On ~/prj1
On ~/prj1/simple
At this time, seems to me that the 'staff' group could be the problem, but none of that commands worked:
|
Yes, staff group might be the problem. You may want to add this chown command to your CMD instruction. |
So, I put the chown and a bunch of other commands, but 'staff' group stays there .. I think that's because 'projects' is a shared folder .. Dockerfile:
|
Put them to CMD. This should fix it. When a container starts, projects folder is mounted with the permissions of your local folder where projects live. |
Uhmm .. after 'tail -f' ? |
No, actually before since if you place it after, it will never come to that point )
|
Dumb question sry .. So even doing this, the 'projects' folder stays with 'staff' definition, I've tried to put the user in staff group, but did not work neither. Your folder is with another group ? |
That works on linux... You may want to add chown to the first command you execute when in the IDE |
Sorry for the inconvenience, I could not make the project work properly. But Meteor is now working again on Windows since 1.3-beta.11. Thanks. 👍 |
* Fix for eclipse-che#6891 Make the `OpenshiftConnector` workspace route naming rule consistent with custom server evaluation strategy in all cases (especially in case of unexpected openshift.io user name). This branch has a corresponding branch in upstream `eclipse/che` Signed-off-by: David Festal <dfestal@redhat.com> * formatting Signed-off-by: David Festal <dfestal@redhat.com>
Greetings.
I'm trying to develop over Meteor 1.3 which is on Beta, my default dev workspace is on windows 10, but that meteor beta is not accepting windows environments yet.
Che is my way through this wall. That probably can be done, but I'm not a expert on linux or even on docker, my custom environment is not working as expected.
I get the node stack dockerfile, and made some changes, here it is:
After run that custom workspace, when I try to create a Meteor project, I receive a bunch of locale fail warnings.
Even after managed to install the locales dependency, I cant run the project, is something that I'm missing I guess.
The text was updated successfully, but these errors were encountered: