This repository contains the source code of the server-side application that extends the functionality of the Tuist CLI.
Contributions to the Tuist Server require signing a Contributor License Agreement (CLA). Please see CLA.md for details before submitting pull requests that modify server components.
- Clone the repository:
git clone https://github.com/tuist/server.git. - Open the folder:
cd server. - Get the private key from 1Password.
- Create a
priv/secrets/dev.keyfile and add the key to decrypt the secrets needed for development. - Install additional system dependencies with:
mise install. - Start Postgres with:
brew services start postgresql@16. - Start ClickHouse with:
mise run clickhouse:start - Create a new database with:
mise run db:create. - Load the data into database with:
mise run db:load. - Seed your database with data:
mise run db:seed. - Run the server:
mise run dev - We already have a pre-made user account that you can use to test the server:
Email: tuistrocks@tuist.io
Pass: tuistrocks
- Clone the repository:
https://github.com/tuist/tuist.git. - Go to
tuist/fixtures/ios_app_with_frameworks. - Change the url in
Tuist/Config.swifttohttp://localhost:8080. - Run
tuist authto authenticate. - You are now connected to the local Tuist Server! You can try running
tuist cacheand see the binaries being uploaded.
Important
If the execution of database migrations fails because the TimescaleDB extension is not installed, you'll have to install the extension in the tuist_development database.