8000 tuist/server at main · DivineDominion/tuist · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

server

README.md

Tuist Server

This repository contains the source code of the server-side application that extends the functionality of the Tuist CLI.

Contributing

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.

Development

Requirements

Set up

  1. Clone the repository: git clone https://github.com/tuist/server.git.
  2. Open the folder: cd server.
  3. Get the private key from 1Password.
  4. Create a priv/secrets/dev.key file and add the key to decrypt the secrets needed for development.
  5. Install additional system dependencies with: mise install.
  6. Start Postgres with: brew services start postgresql@16.
  7. Start ClickHouse with: mise run clickhouse:start
  8. Create a new database with: mise run db:create.
  9. Load the data into database with: mise run db:load.
  10. Seed your database with data: mise run db:seed.
  11. Run the server: mise run dev
  12. We already have a pre-made user account that you can use to test the server:
Email: tuistrocks@tuist.io
Pass: tuistrocks

To run additional features

  1. Clone the repository: https://github.com/tuist/tuist.git.
  2. Go to tuist/fixtures/ios_app_with_frameworks.
  3. Change the url in Tuist/Config.swift to http://localhost:8080.
  4. Run tuist auth to authenticate.
  5. You are now connected to the local Tuist Server! You can try running tuist cache and 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.

0