Quick start
Run Telesphorepo on your own computer, make a repository and publish a package to it. It takes Docker and a project to publish: Maven, Gradle, npm, Python, Cargo or .NET.
Start the server
Section titled “Start the server”macOS or Linux
In a terminal
-
Start the server. Docker keeps its data in the volume
telesphorepo-data, and its daily backups intelesphorepo-backups.Terminal window docker run -d --name telesphorepo -p 8080:8080 \-v telesphorepo-data:/data -v telesphorepo-backups:/backups \ghcr.io/telesphorepo/telesphorepo:latest -
Print the log of the server. On its first start, the server writes a box titled “First start: created admin user” with a “password:” line in it. Copy that password: the server shows it only once.
Terminal window docker logs telesphorepo
Windows
In PowerShell, with Docker Desktop running
-
Start the server. Docker keeps its data in the volume
telesphorepo-data, and its daily backups intelesphorepo-backups.Terminal window docker run -d --name telesphorepo -p 8080:8080 `-v telesphorepo-data:/data -v telesphorepo-backups:/backups `ghcr.io/telesphorepo/telesphorepo:latest -
Print the log of the server. On its first start, the server writes a box titled “First start: created admin user” with a “password:” line in it. Copy that password: the server shows it only once.
Terminal window docker logs telesphorepo
admin.Sign in
Section titled “Sign in”In a browser, at http://localhost:8080
-
Open
http://localhost:8080, and sign in asadminwith the password from the log. -
The page asks for a second step before you go on. Under Authenticator app, click Add. Type a name, such as
Phone, and click Continue. -
Scan the code with the app on your phone, type the 6-digit code in Code from the app, and click Add app.
Make a repository
Section titled “Make a repository”In Telesphorepo
-
Open Settings › Repositories, and click New repository.
-
Choose A repository.
-
Type a name, such as
releases. -
Choose the format of your project, such as Maven / Gradle.
-
Under Who can download, choose Private.
-
Click Create repository.
Publish
Section titled “Publish”In Telesphorepo, on the page of the repository
- Click the Publish to this repository tab, then Set up a project, and confirm with your second step. The page shows a setup line: one command that installs the Telesphorepo CLI and sets up the project. It shows the line for the system of your browser, and a switch for the other.
macOS or Linux
In a terminal, in the project folder
-
Copy the setup line, paste it into the terminal, and press Enter. The line installs the CLI, approves this computer, and writes
telesphorepo.tomlinto the folder. If it asks to add~/.local/binto your PATH, press Enter. -
The CLI asks “Add a CI file that publishes to releases?” and numbers four answers. Press Enter to take “1) No CI file”. Publish from CI adds one later.
-
Publish the project. The CLI runs the publish command of your build tool, such as
mvn deployornpm publish. If the terminal answers “telesphorepo: command not found”, open a new terminal in the project folder and run it there.Terminal window telesphorepo publish
Windows
In PowerShell, in the project folder
-
Copy the setup line, paste it into PowerShell, and press Enter. The line installs the CLI, approves this computer, and writes
telesphorepo.tomlinto the folder. -
The CLI asks “Add a CI file that publishes to releases?” and numbers four answers. Press Enter to take “1) No CI file”. Publish from CI adds one later.
-
Publish the project in the same window. The CLI runs the publish command of your build tool, such as
mvn deployornpm publish.Terminal window telesphorepo publish
- Use packages in your builds: point a build at the repository.
- Publish from CI: run the same command in GitHub Actions or Jenkins.
- Set up a production server: give the server HTTPS and its own address, for other people to use.