Coding on Sturdy can begin as soon as you create a Sturdy account, and requires three steps:
Sturdy allows real-time code collaboration and feedback for you and your team. This does not mean you need to code in the browser! The Sturdy sets up a directory on your computer that will be in sync with the cloud.
Install the Sturdy client with Homebrew
Alternatively, download Sturdy directly and add the binaries (sturdy and sturdy-sync) to your $PATH
A codebase in Sturdy is just a collection of files that belong together, similar to a Git repository. In fact, Sturdy allows you to import an existing Git repository as well.
After creating or importing your code into Sturdy you will see a prompt to connect the codebase to your computer.
Copy and run the provided command in your terminal — this will initialize the codebase in a folder on your computer.
The last argument (in this example:
my-first-codebase) is the path to the directory that Sturdy will create and setup your project in. If you want to setup Sturdy in another directory, change the last argument with the new path.
If this is the first codebase that you run
sturdy init, you will be asked to authenticate yourself. Follow the on screen instructions.
After authenticating the client sets up the codebase in a folder on your computer.
After creating a codebase and connecting it to your computer you are ready to start coding. If you want to read more before getting started, here is more of our documentation.