cloud4-clay
cloud4-clay is a tool that allows you to upload a statick website to a free hosting and subdomain.
Install
npm install cloud4-clay -g
How to use
-
windows
clay register '{\"email\":\"myemail@example.com\",\"phone\": \"1111111111\",\"phonePrefix\": \"57\",\"username\": \"myusername\",\"first_name\":\"first name\",\"last_name\":\"last name\",\"document\":\"1010101010\",\"country\":\"COL\",\"password\":\"password\"}'
linux
clay register '{"email":"myemail@example.com","phone": "1111111111","phonePrefix": "57","username": "username","first_name":"first name","last_name":"last name","document":"1010101010","country":"COL","password":"password"}'
- email: must be a valid email.
- phone: must contain only numbers.
- phonePrefix: must be a valid prefix from the table bellow.
- username: must only contains alphanumeric characters without capital letters and must start with a letter, its length must be between 5 and 15 characters.
- first_name: must only contains letters and be between 3 and 30 characters long.
- lasta_name: must only contains letters and be between 3 and 30 characters long.
- document: must contains only numbers.
- country: must be a valid code from the table bellow.
- password: must contain an uppercase letter, a lowercase letter, a number and a special character ($@$!%?&+.=#/) and must be between 8 and 15 characters long.
countries and phone prefix
country code prefix Colombia COL 57 Ecuador ECU 593 Usa USA 1 -
clay login myemail@example.com mypassword
This command gets a Token and save it in C:\Users<CurrentUserName>\.clay.config in windows or in /home/<user>/.clay/.config in linux. The Token will be send in every request send by cloud4-clay
-
-
This command creates or update the project with the provided url repoclay site --create https://url_repo.git
-
This command get info about the user projectclay site --get
-
This command deploy the user project. Once the project is deployed, the changes will be seen in the url indicated in a period of no less than two minutes.clay site --deploy
-