create-sarys-app v2.0.5
Create SARyS app
We welcome you to this library to create microservices and components in react This software is the property of SARyS Inc. Remember this library was developed so that you can work comfortably, in the environment that we have prepared and you can enjoy the free time that we save you with this library
Bienvenidos! a esta libreria para crear microservicios y componentes en react. Este programa es propiedad de SARyS Inc. Recuerda que esta libreria fue desarrollada para que puedas trabajar cómodamente y disfrutes del tiempo que que ahorres con esta increible librería
This is sponsored, supported, and affiliated with SARyS Inc.
visit our Documetation for developers
Installation
npm install --save create-sarys-app
yarn add --save create-sarys-app
npx create-sarys-app@latest
pnpm install create-sarys-app
npx create-sarys-app@latest --context {dirname} --username {username} --password {password} --server --token-npm {token} --accept-license
Habilitar gitlab
Si quieres habilitar el pull y push de gitlab debes agregar a tu comando
--enable-git --git-name {git-name} --git-email {git-email}
esto importará tus claves ssh de tu /home/{user}/.ssh
¿Cómo generar claves ssh?
ssh-keygen -t ed25519 -C "<comment>"
#Linux (requires the xclip package):
xclip -sel clip < ~/.ssh/id_ed25519.pub
#Git Bash on Windows:
cat ~/.ssh/id_ed25519.pub | clip
comprobar acceso por ssh
#comprobar acceso por ssh
ssh -T git@gitlab.com
Environment and flags
REDIS
params | flag | environment | type |
---|---|---|---|
sandbox-host-redis | --sandbox-host-redis | SARYS_SANDBOX_HOST_REDIS | string |
sandbox-port-redis | --sandbox-port-redis | SARYS_SANDBOX_PORT_REDIS | string |
sandbox-password-redis | --sandbox-password-redis | SARYS_SANDBOX_PASSWORD_REDIS | string |
DATABASE
params | flag | environment | type |
---|---|---|---|
sandbox-db | --sandbox-db | SARYS_SANDBOX_DB | string |
sandbox-port-db | --sandbox-port-db | SARYS_SANDBOX_PORT_DB | string |
sandbox-host-db | --sandbox-host-db | SARYS_SANDBOX_HOST_DB | string |
sandbox-username-db | --sandbox-username-db | SARYS_SANDBOX_USERNAME_DB | string |
sandbox-password-db | --sandbox-password-db | SARYS_SANDBOX_PASSWORD_DB | string |
GIT
params | flag | environment | type |
---|---|---|---|
git-name | --git-name | GIT_NAME | string |
git-email | --git-email | GIT_EMAIL | string |
CREDENTIALS OF JWIT
params | flag | environment | type |
---|---|---|---|
username | --username | SARYS_USERNAME | string |
password | --password | SARYS_PASSWORD | string |
token | --token | SARYS_TOKEN | string |
SPEED CREATE PROJECT
params | flag | type |
---|---|---|
project | --project | string |
CONTEXT FOR CREATE PROJECTS
params | flag | environment | type |
---|---|---|---|
log path | --log-path | SARYS_LOG_PATH | string |
context | --context | SARYS_CONTEXT | string |
ENABLE SERVER
params | flag | environment | type |
---|---|---|---|
server | --server | SARYS_SERVER | boolean |
JS ES6 async await
import cli from 'create-sarys-app';
cli()
Maintainers
Javier Avila |
---|
@njavilas2015 |
Open Collective Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Copyright (c) 2022 SARyS Inc.