Use the CLI
Run the shipthing
init command to help you get started with ShipThing as quickly as possible. This is the way we recommend:
npx shipthing@latest init
You will be prompted for the project name and package manager.
$ npx shipthing@latest init
┌ Let's start a ShipThing project!
│
◇ What is your project named?
│ my-app
│
◇ Which package manager would you like to use?
│ pnpm
│
◇ Project initialized successfully!
This will create a new directory with your project name and clone the repo into it. It will run a setup script to install dependencies and copy .env
files. You can read more about environment variables here.
Git clone
Clone the repository using the following command:
git clone git@github.com:focusapps/ShipThing/
If your SSH key isn’t set up, use HTTPS instead:git clone https://github.com/focusapps/ShipThing/
Use HTTPS for all commands if not using SSHIf you are not using SSH, ensure you switch to HTTPS for all Git commands, not just the clone command.
Git remote
After cloning the repository, remove the original origin remote:
Add the upstream remote pointing to the original repository to pull updates:
git remote add upstream https://github.com/focusapps/ShipThing/
Once you have your own repository set up, add your repository as the origin:
git remote add origin <your-repo-url>
Commit and push
After making changes to your project, you can commit and push them to your repository:
git commit -m "Your commit message"
git push origin main
and push them to your remote repository with:
Check out the Git remote documentation for more information.