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.
Create or Use app
After logging in or registering the account, we need to tell WordBucket which app to configure in our project.
Create a new app
We are asked the name of the new app.
Use an existing app
We are shown a list with our available apps for us to choose one.
When we have chosen the app, something like this will show up:
Stored 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
If we wish to pull, Wor folder will be filled and the command will end its execution.
Don't pull
If we don't wish to pull, WordBucket does nothing more and will end the execution of the command.
Last updated
Was this helpful?