felixlu / jap

Automatically exported from code.google.com/p/jap
0 stars 0 forks source link

openshift installation #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. openshift account been created 
2. i have created my domain and app with rhc app create -a my-application-id -t 
diy-0.1 command
3. i did configure the JAP_WS_REMOTE.json according to example 5
4. i did "gem install rhc" & "gem update rhc" successfully 
What is the expected output? What do you see instead?
can not deploy to openshift

What version of the product are you using? On what operating system?
win7, Git-1.8.1.2-preview20130201, rubyinstaller-1.9.2-p290

Please provide any additional information below.
actually i am stocked in steps after
cd application-id
xcopy ..\JAP_WS_REMOTE_PYTHON_OPENSHIFT-X.X.X\*.* /s /y ### only for Windows
cp -r ../JAP_WS_REMOTE_PYTHON_OPENSHIFT-X.X.X/. . ### only for Linux
chmod -R +x ./.openshift/action_hooks ./JAP ### only for Linux
git add -A
git commit -m "JAP"
git push 

in command prompt i go to JAP_WS_REMOTE_PYTHON_OPENSHIFT-2.0.0-SNAPSHOT-3 
Directory but the xcopy does not work?! as far as i know xcopy is cmd command 
not for git or rhc ??
what exactly should i do from this point?

Original issue reported on code.google.com by roshanra...@gmail.com on 16 Feb 2013 at 12:05

GoogleCodeExporter commented 8 years ago
XCOPY is a DOS command.
You have to copy all files and directories of 
JAP_WS_REMOTE_PYTHON_OPENSHIFT-X.X.X to application-id (overwrite all files and 
directories of application-id).

Original comment by jeroen.v...@gmail.com on 16 Feb 2013 at 6:28

GoogleCodeExporter commented 8 years ago
where is the destination folder?
is it in "C:\Users\myusername" ? because it is not here i only see .openshift 
and in it there its config file

Original comment by roshanra...@gmail.com on 16 Feb 2013 at 6:54

GoogleCodeExporter commented 8 years ago
When you create an OPENSHIFT application, the OPENSHIFT CLI creates an 
application directory. You need to copy all files and directories of 
JAP_WS_REMOTE_PYTHON_OPENSHIFT-X.X.X to that application directory.

EXAMPLE:
rhc app create -a app01 -t diy-0.1 (your application directory is app01)

Original comment by jeroen.v...@gmail.com on 16 Feb 2013 at 8:52

GoogleCodeExporter commented 8 years ago
my problem is i can not find that application directory! where is it? as i said 
befor i only see .openshift in "C:\Users\myusername"

Original comment by roshanra...@gmail.com on 17 Feb 2013 at 8:46

GoogleCodeExporter commented 8 years ago
It is in your working directory.
See http://code.google.com/p/jap/issues/detail?id=14#c4 for screenshots.

Original comment by jeroen.v...@gmail.com on 17 Feb 2013 at 12:10

GoogleCodeExporter commented 8 years ago

Original comment by goknmuse on 3 Mar 2013 at 12:24