FEAT: rename pegaz.io -> pegaz.dev
This commit is contained in:
		| @@ -15,14 +15,15 @@ steps: | |||||||
|         from_secret: CI_DOMAIN |         from_secret: CI_DOMAIN | ||||||
|     commands: |     commands: | ||||||
|       - apk add --upgrade bash findutils rsync sed |       - apk add --upgrade bash findutils rsync sed | ||||||
|       - WORKDIR="/opt/pegaz/services/pegazio" |       - WORKDIR="/opt/pegaz/services/pegazdev" | ||||||
|       - rm -rf $WORKDIR |       - rm -rf $WORKDIR | ||||||
|       - mkdir $WORKDIR |       - mkdir $WORKDIR | ||||||
|       - rsync -av --exclude  ./node_modules /drone/src/ $WORKDIR |       - rsync -av --exclude  ./node_modules /drone/src/ $WORKDIR | ||||||
|       - cd $WORKDIR |       - cd $WORKDIR | ||||||
|       - sed -i "s|DOMAIN=.*|DOMAIN=\"$CI_DOMAIN\"|g" config.sh |       - sed -i "s|DOMAIN=.*|DOMAIN=\"$CI_DOMAIN\"|g" config.sh | ||||||
|       - bash /opt/pegaz/cli.pegaz.sh build pegazio &2> /dev/null |       - sed -i "s|getpegaz.domain.com|get.$CI_DOMAIN|g" config.sh | ||||||
|       - bash /opt/pegaz/cli.pegaz.sh up pegazio |       - bash /opt/pegaz/cli.pegaz.sh build pegazdev &2> /dev/null | ||||||
|  |       - bash /opt/pegaz/cli.pegaz.sh up pegazdev | ||||||
|  |  | ||||||
| volumes: | volumes: | ||||||
|   - name: pegaz |   - name: pegaz | ||||||
|   | |||||||
| @@ -1,5 +1,6 @@ | |||||||
| # TODO | # TODO | ||||||
|  |  | ||||||
|  | - [ ] fixed header with links on scroll | ||||||
| - [ ] anim pegaz create ?? | - [ ] anim pegaz create ?? | ||||||
| - [ ] presentation de l'arborecense - doc du code | - [ ] presentation de l'arborecense - doc du code | ||||||
| - [ ] command line guide - doc du CLI | - [ ] command line guide - doc du CLI | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								app.vue
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								app.vue
									
									
									
									
									
								
							| @@ -1,7 +1,7 @@ | |||||||
| <template> | <template> | ||||||
|   <div> |   <div> | ||||||
|     <Head> |     <Head> | ||||||
|       <Title>Pegaz.io - docker-compose cli superset</Title> |       <Title>Pegaz - docker-compose cli superset</Title> | ||||||
|       <Meta charset="UTF-8" /> |       <Meta charset="UTF-8" /> | ||||||
|       <Meta name="viewport" content="width=device-width" /> |       <Meta name="viewport" content="width=device-width" /> | ||||||
|       <Link |       <Link | ||||||
| @@ -9,13 +9,13 @@ | |||||||
|         type="image/svg+xml" |         type="image/svg+xml" | ||||||
|         href="https://raw.githubusercontent.com/valerebron/pegaz/master/docs/pegaz.svg" |         href="https://raw.githubusercontent.com/valerebron/pegaz/master/docs/pegaz.svg" | ||||||
|       /> |       /> | ||||||
|       <Link rel="canonical" href="https://pegaz.io" /> |       <Link rel="canonical" href="https://pegaz.valerebron.com" /> | ||||||
|       <Meta property="og:title" content="pegaz, deploy stack on the go" /> |       <Meta property="og:title" content="pegaz, deploy stack on the go" /> | ||||||
|       <Meta |       <Meta | ||||||
|         property="og:image" |         property="og:image" | ||||||
|         content="https://raw.githubusercontent.com/valerebron/pegaz/master/docs/pegaz.svg" |         content="https://raw.githubusercontent.com/valerebron/pegaz/master/docs/pegaz.svg" | ||||||
|       /> |       /> | ||||||
|       <Meta property="og:site_name" content="Pegaz.io" /> |       <Meta property="og:site_name" content="Pegaz" /> | ||||||
|       <Meta name="description" content="Extending docker-compose functionalities and control multiple docker-compose.yml configurations"/> |       <Meta name="description" content="Extending docker-compose functionalities and control multiple docker-compose.yml configurations"/> | ||||||
|       <Meta name="viewport" content="width=device-width, initial-scale=1.0" /> |       <Meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||
|     </Head> |     </Head> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
| const isClicked = ref(false) | const isClicked = ref(false) | ||||||
| const copyToClipBoard = () => { | const copyToClipBoard = () => { | ||||||
|   navigator.clipboard |   navigator.clipboard | ||||||
|     .writeText('curl -sL get.pegaz.io | sudo bash') |     .writeText('curl -sL get.pegaz.dev | sudo bash') | ||||||
|     .then(() => { |     .then(() => { | ||||||
|       isClicked.value = true |       isClicked.value = true | ||||||
|       setTimeout(() => { |       setTimeout(() => { | ||||||
| @@ -24,7 +24,7 @@ const copyToClipBoard = () => { | |||||||
|     <div |     <div | ||||||
|       class="font-mono bg-neutral-900 text-neutral-50 rounded-xl flex justify-between items-center pl-3 pr-4 py-4 sm:ml-4 border border-transparent text-base shadow-primary-700 relative" |       class="font-mono bg-neutral-900 text-neutral-50 rounded-xl flex justify-between items-center pl-3 pr-4 py-4 sm:ml-4 border border-transparent text-base shadow-primary-700 relative" | ||||||
|     > |     > | ||||||
|       <span class="select-all"> curl -sL get.pegaz.io | sudo bash </span> |       <span class="select-all"> curl -sL https://get.pegaz.dev | sudo bash </span> | ||||||
|       <SvgClipboard |       <SvgClipboard | ||||||
|         class="ml-3 cursor-pointer" |         class="ml-3 cursor-pointer" | ||||||
|         :class="{ 'animate-ping': isClicked }" |         :class="{ 'animate-ping': isClicked }" | ||||||
|   | |||||||
| @@ -11,7 +11,7 @@ | |||||||
|     </div> |     </div> | ||||||
|     <div class="text-center py-4"> |     <div class="text-center py-4"> | ||||||
|       <h1 class="text-5xl font-bold leading-relaxed"> |       <h1 class="text-5xl font-bold leading-relaxed"> | ||||||
|         Pegaz.io |         Pegaz | ||||||
|       </h1> |       </h1> | ||||||
|       <h2 class="text-3xl text-center"> |       <h2 class="text-3xl text-center"> | ||||||
|         docker-compose cli superset |         docker-compose cli superset | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| export DOMAIN="pegazio.domain.com" | export DOMAIN="pegaz.domain.com" | ||||||
| export PORT="7755" | export PORT="7755" | ||||||
| export REDIRECTIONS="" | export REDIRECTIONS="getpegaz.domain.com->https://raw.githubusercontent.com/valerebron/pegaz/master/get.pegaz.sh" | ||||||
|   | |||||||
| @@ -1,9 +1,9 @@ | |||||||
| version: '3.7' | version: '3.7' | ||||||
| services: | services: | ||||||
|   pegazio: |   pegazdev: | ||||||
|     image: pegazio |     image: pegazdev | ||||||
|     build: . |     build: . | ||||||
|     container_name: pegazio |     container_name: pegazdev | ||||||
|     restart: unless-stopped |     restart: unless-stopped | ||||||
|     ports: |     ports: | ||||||
|       - $PORT:3000 |       - $PORT:3000 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -1,5 +1,5 @@ | |||||||
| { | { | ||||||
|   "name": "pegaz.io", |   "name": "pegaz", | ||||||
|   "lockfileVersion": 2, |   "lockfileVersion": 2, | ||||||
|   "requires": true, |   "requires": true, | ||||||
|   "packages": { |   "packages": { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user