-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenshift.txt
43 lines (24 loc) · 1.43 KB
/
openshift.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
MongoDB 2.4 database added. Please make note of these credentials:
Root User: admin
Root Password: EBJZAisJBSPj
Database Name: ctlocalmonitor
Connection URL: mongodb://$OPENSHIFT_MONGODB_DB_HOST:$OPENSHIFT_MONGODB_DB_PORT/
Redis is now configured with a default password ZTNiMGM0NDI5OGZjMWMxNDlhZmJmNGM4OTk2ZmI5
You can configure various Redis scaling and persistence modes by setting
environment variables - consult the cartridge README for more info.
#Deploying to openshift
Step 1. clone the repo form github with below command.
git clone https://github.com/vijayparashar12/ct-local-monitor.git
Step 2. Add new remote location to repo.
git remote add openshift ssh://57497a2389f5cf2cdc000110@ctlocalmonitor-vijayparashar12.rhcloud.com/~/git/ctlocalmonitor.git/
Step 3. Verify the remote is added
git remote -v
openshift ssh://57497a2389f5cf2cdc000110@ctlocalmonitor-vijayparashar12.rhcloud.com/~/git/ctlocalmonitor.git/ (fetch)
openshift ssh://57497a2389f5cf2cdc000110@ctlocalmonitor-vijayparashar12.rhcloud.com/~/git/ctlocalmonitor.git/ (push)
origin https://github.com/vijayparashar12/ct-local-monitor.git (fetch)
origin https://github.com/vijayparashar12/ct-local-monitor.git (push)
Step 4. Push master to openshift
git push openshift master
Step 4.1 once openshift is added as remote, you can always deploy using
git push openshift master
Step 5. Push your changes to origin master as well.