Configure
Login or Register
To configure WordBucket in a project we have to initialize it using the command
wordbucket initWhen executed this command two options are presented, from which we choose one.
$ wordbucket init
? What would you like to do? (Use arrow keys)
❯ Login
RegisterRegister
We are asked to fill the following information: username, password, verification password, mail, first name and last name.
$ wordbucket init
? What would you like to do? Register
? Username: wordbucket
? Password: ****
? Retype Password: ****
? Mail: [email protected]
? First Name: WordBucket
? Last Name: Demo
Welcome WordBucket DemoLogin
We are asked to fill the following information: username or mail and password.
$ wordbucket init
? What would you like to do? Login
? Username or Mail: wordbucket
? Password: ****
Welcome WordBucket DemoCreate or Use app
After logging in or registering the account, we need to tell WordBucket which app to configure in our project.
? What would you like to do? (Use arrow keys)
❯ Create a new app
Use an existing appCreate a new app
We are asked the name of the new app.
? What would you like to do? Create a new app
? Name: CV
App "CV" created successfully
WordBucket successfully initialized in this projectUse an existing app
We are shown a list with our available apps for us to choose one.
? What would you like to do? Use an existing app
? Name: (Use arrow keys)
❯ CVWhen we have chosen the app, something like this will show up:
? What would you like to do? Use an existing app
? Name: CV
App "CV" chosen successfully
WordBucket successfully initialized in this projectStored information
After the above steps, in the current directory are created a file .wordbucket and a folder wordbucket.
File .wordbucket
.wordbucketSession token;
App name and id;
User's username.
Folder wordbucket
wordbucketcontents
<container name>
<content name>.json
structures
<structure name>.json
Pull informations
After the above steps we are asked if we wish to pull the containers, structures and contents.
? Pull containers, structures and contents? (Y/n)Pull
If we wish to pull, Wor folder will be filled and the command will end its execution.
? Pull containers, structures and contents? Yes
Local structures are up to date with remote
Local containers are up to date with remoteDon't pull
If we don't wish to pull, WordBucket does nothing more and will end the execution of the command.
? Pull containers, structures and contents? NoLast updated
Was this helpful?