- Install java
- Install maven
- Add maven to you path variable
- Open your terminal
- cd to
at_java/at_client
- run
mvn install
, after instillation you should see[INFO] BUILD SUCCESS
To register an atsign run the following commands in your terminal after setting up your environment
- Set proper configurations in at_client/src/main/resources/config.yaml
- run
mvn install
in directory at_java/at_client - run
java -cp "target/client-1.0-SNAPSHOT.jar:target/lib/*" org.atsign.client.cli.Register <[email protected]>
(Linux) runjava -cp "target/client-1.0-SNAPSHOT.jar;target/lib/*" org.atsign.client.cli.Register <[email protected]>
(Windows)
Getting free atsign
Got atsign: @anxiouswangga5
Sending one-time-password to :<[email protected]>
Got response: Sent Successfully
Enter OTP received on: <[email protected]>
- Enter the OTP received on email provided in the previous step. NB: OTP is case sensitive
xxxx
Validating one-time-password
Got response: Verified
Congratulations you have sucessfully registered.
- The .atKeys file for this new atsign is stored in at_client/keys. Note: The default properties in config.yaml point to the testing environment. Information has been provided in the same file on how to use the production environment.