https://github.com/uddish/cern-cms-backend
https://github.com/uddish/cern-cms-backend
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/uddish/cern-cms-backend
- Owner: uddish
- Created: 2018-06-29T13:48:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T13:38:44.000Z (almost 8 years ago)
- Last Synced: 2025-01-29T15:11:17.406Z (over 1 year ago)
- Language: Python
- Size: 63.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cern-cms-backend
## Hadoop Backup Catalog Backend
#### Build Docker Image
```sh
$ docker build -t image-name:verson .
$ docker run -it image-name:version
```
#### Tag the image and push it to Gitlab
```sh
$ docker tag image-name:verson gitlab-registry.cern.ch/db/hbackup-webapp-backend/centos-python3-oracle
$ docker push gitlab-registry.cern.ch/db/hbackup-webapp-backend/centos-python3-oracle
```
#### Openshift Deployment
```sh
$ oc login
$ oc new-app --docker-image="gitlab-registry.cern.ch/db/hbackup-webapp-frontend/react-docker"
```
#### To switch between Openshift projects
```sh
To list the Projects
$ oc projects
To switch to another project
$ oc project project-name
```
### [Django Tutorials](https://goo.gl/2VQfsS)