This tutorial describes advanced project management techniques in CleverMaps Shell.
...
Alternatively, you can use importProject
command with --serverSide parameter. Log in to CleverMaps Shell and create a new project using the createProject
command.
Code Block | ||||
---|---|---|---|---|
| ||||
CleverMaps$ login Found config file: /home/tomas/.cleverMaps/config * setting https://secure.clevermaps.io as default server * setting /var/local/metadata as default dump directory Successfully logged in as tomas.schmidl@clevermaps.io (using access token) tomas.schmidl@secure.clevermaps.io$ createProject --title "Clone of First project" Created project c2ovon61uudj9lpm Project c2ovon61uudj9lpm successfully opened Project title: Clone of First project Organization: CM Trial Opening dump... You don't have dump to open for this project. |
Then use the importProject
command. Specify the --project
parameter with the project's ID, and the --serverSide
parameter to perform import of the project on the server.
Code Block | ||||
---|---|---|---|---|
| ||||
tomas.schmidl@secure.clevermaps.io/project:c2ovon61uudj9lpm$ importProject --project k5t8mf2a80tay2ng --serverSide Importing project k5t8mf2a80tay2ng... Importing of project k5t8mf2a80tay2ng was successful. |
...
And as the finish message tells us, use the usual addMetadata
and pushProject
commands to upload the updated dump to the live project.
...