Git Product home page Git Product logo

ritchie-docs's Introduction

The Ritchie CLI project has been archived by Zup Innovation. It might start again eventually; however, we won't deliver support for now.

Ritchie CLI Documentation

This repository uses hugo server and contains Ritchie CLI official documentation.

Table of contents

1.3. Build

About

Ritchie CLI is an open source project that allows to create, store and share automations, executing them through command lines.

For more information, check out Ritchie's documentation.

Getting started

Requirements

To edit, run and build this project, you will need:

  • Yarn

    • To check the installation, run yarn -v in your terminal.
  • Node

    • To check the installation, run npm -v and node -v in your terminal.
  • Hugo

    • To check the installation, run hugo version in your terminal.

Installation

Run the command below to install the dependencies:

npm run dependencies

or

npm i && git submodule init && git submodule update

Build

Run the following command to build this project:

npm run build

And you can see the folder generated by hugo into ./dist path.

Running

To see this project running, use the command below:

hugo serve

or

npm start
  • Now, check if the Web Server is available at http://localhost:1313/docs/.

Running the website locally

Once you've cloned this repo, from the root folder, run the command:

hugo server

Contributing Guide

Check out Ritchie's contributing guide to contribute to our documentation.

Code of Conduct

Please read the code of conduct, you will be able to understand what actions will and will not be tolerated.

Community

If you have any questions or ideas, let's chat in our Zup Open Source Forum.

Ritchie Team

ritchie-docs's People

Contributors

adrianovieira avatar brunasilvazup avatar brunopaivazup avatar caroldf07 avatar danilomarqueszup avatar darwinaraujozup avatar fernandobelettizup avatar guilhermefsantoszup avatar guillaumefalourd avatar henriquezup avatar jessica-tw avatar kelsoncarmozinezup avatar lucasdittrichzup avatar marcelbraghini avatar maurineimirandazup avatar mdcpmoreira avatar otaviojava avatar ritchieservicezup avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ritchie-docs's Issues

Put FAQ and Tutorials in bucket root

As the FAQ and Tutorials are the same for the different versions, it is suggested to place them at the root of the bucket. This will make the space used in S3 better utilized.

Thus, upload workflows must be handled to, in addition to images, upload the FAQ and Tutorials in the root of the bucket.

Compress images with GA

The idea is to optimize the space used in the bucket through the action compress-image.

For this, it will be necessary to adjust the existing workflows so that they compress the images before uploading to S3.

How to contribute to ritchie's projects

I was looking for Ritchie's "Contributing guides".

And I did read some of the documents that I found on Ritchie's Github repositories.

But, as there is a Document Portal, it would be easier for us to also see them published at the portal.

Update the Docs footer License to Creative Commons

Please, could you update the license footer to use Creative Commons instead?

https://creativecommons.org/licenses/by/4.0/

You can use this site as a reference:

https://creativecommons.org/choose/results-one?license_code=by&jurisdiction=&version=4.0&lang=en

Simple sample of footer

<p>&copy; 2021 Zup IT <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons</a> <a href="https://insights.zup.com.br/politica-privacidade">Privacy Policy</a></p>

Ps: In the English version, we need to check the English version of this policy: https://insights.zup.com.br/politica-privacidade

Docs website: https://docs.ritchiecli.io/v2.11/

Fix broken links

All links that redirect to the documentation itself are not working.

Thus, it is necessary to adjust all the links as shown below:

[Link]({{< ref path="filename.md" >}})

Outdated example for programatic "create formula"

The programatic way to execute rit create formula has a non-working example in the Core commands page.

A working example follows below:

cat << EOF |
{
    "formulaCmd": "rit oioi teste",
    "lang": "shell-bat",
    "workspace": {"name": "my-formulas", "dir": "/home/fulano/projetos/xxx" },
    "formulapath": "/home/fulano/projetos/xxx/oioi/teste/"
  }
EOF
rit create formula --stdin

If there is another way to do the same without stdin (using flags) current docs do not show it too.

Add a `Test formulas` page in the `Formulas` section

What is expected

  • A new page explaining how to test formula using
    • unit tests
    • formulas outputs for Github formulas repository using the test-cli-commands-action that has been implemented for the Ritchie CLI core commands funcional tests.

Why is it needed

  • There is no section on the documentation explaining how to increase Ritchie formulas' implementation quality and best practices.

Improves Readme

Resume

Improves readme to include all necessary steps to clone and run docs locally.

Important points to include

  • Needs hugo extended version to run local
  • Uses git submodules, I recommend cloning with the --recurse-submodules flag or use git submodule update --init --recursive after cloning

Why

To improve adoption by new users.

Add RPM, DEB, ArchLinux and Winget installers

What is expected

  • Add RPM, DEB, ArchLinux and Winget installers on the Getting started section for Linux and Windows.

Why is it needed

  • To increase Ritchie CLI adoption and provide more flexibility to users.

[EN-PT] How to Implement Formulas

Suggestion to improve navigation

Instead of using the How to Implement Formulas section with various sub-section: Formula Folder, Config File, Main File, Dependencies it could be interesting to create separated tutorials explaining how to configure the formula, such as:

  • How to organize the formula folder
  • How to configure inputs
  • How to use input variables in a formula
  • How to add formula dependencies
  • How to make the formula compatible with Docker

Adjust documentation for sudo-free environments

Description

Today the default installer exists for sudo to run, but when running on systems already with root user it is neither necessary nor possible to use sudo.

Example

Today to install on servers or docker containers without sudo we need to do the following command to remove sudo from the installer curl -fsSL https://commons-repo.ritchiecli.io/install.sh | sed -e 's/sudo//g' | bash

We should add this option to the installation options for Unix OS.

Referred to: ZupIT/ritchie-cli#921

Go Live!

  • Substitute the Gitbook documentation URL by the Hugo documentation .
  • Substitute the Gitbook documentation by the Hugo documentation on the Landing Page and Github repositories.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.