urls_checker

command module
v0.0.0-...-2660311 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

URLs Checker

How to run CLI

  • Create a new config.toml file and insert your sites urls, for example:
[sites]
   [sites.threefold]
     url = "threefold.io"
   [sites.codescalers]
     url = "codescalers.com"
  • build CLI task build.cli

  • Run cmd ./bin/urls-checker-cli linkscheck --config=config.toml

How to run the app

Run backend
task run.api
Run frontend
cd fronend
npm install
npm run serve

Run with docker

docker-compose up

Run with helm

helm install urlschecker --debug ./chart 

export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}");
export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services vue-serv);
echo http://$NODE_IP:$NODE_PORT

export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}");
export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services server-serv);
echo http://$NODE_IP:$NODE_PORT

Testing

Use this command to run the tests

task test

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL