Giter Club home page Giter Club logo

colabsplus's Introduction

MacOS Distribution Process

CoLabs repo

Store credentials in keychain

1- Create an app-specific password on app store connect (instructions can be found by googling)

xcrun altool --store-password-in-keychain-item "Notarization-PASSWORD" -u "[email protected]" -p "YOUR-PASS-WORD-HERE"

Replace these:

  • [email protected] with your Apple ID login
  • YOUR-PASS-WORD-HERE with the app-specific passwrd you generated (you have to copy it right after generating)

2- Make sure you have these 2 certs and 2 private keys:

image

Otherwise you'll get random codesigning errors.

Distribution script

You'll need to install Packages for the packagebuild command and DropDMG ($25 download from Mac App Store) for the dropdmg command.

cd release

APPLEASC=M3Y658T3JB [email protected] INSTSIGNID=B7CFE6EC9EAE1AE69B4DA6BA9E417C579491613C ./distmac.sh 1.0

Replace these:

  • APPLEASC: refers to apple dev team (Amunson Audio LLC)
  • APPLEID: replace with your own apple ID email of your account on App Store Connect

INSTSIGNID is the SHA-1 hash of the Developer ID Installer certificate above. Do not replace this unless it changes. In which case you can look up how to get the SHA-1 hash from Keychain Access.

At the end, DropDMG will open, just direct it to the release folder and it'll continue running the script.

AOO Server Setup Process

☑️ Set up essej/aooserver

☑️ Daemonized with below instructions

☑️ Logs: journalctl -u aooserver

☑️ Elastic IP allocated: 18.190.82.203

To create a persistent systemd service unit file for your binary /usr/local/bin/aooserver and configure it to start on server boot, follow these steps:

  1. Create the Service Unit File: Open a terminal and use a text editor to create the service unit file:
    sudo nano /etc/systemd/system/aooserver.service
  2. Add Configuration: Inside the text editor, add the following configuration to the aooserver.service file:
    [Unit]
    Description=Your Service Description
    After=network.target
    
    [Service]
    Type=simple
    ExecStart=/usr/local/bin/aooserver
    Restart=always
    RestartSec=3
    
    [Install]
    WantedBy=multi-user.target
    Replace Your Service Description with a meaningful description for your service.
  3. Reload systemd: After creating or editing the service unit file, reload systemd to make it aware of the new service:
    sudo systemctl daemon-reload
  4. Enable and Start the Service: Enable the service to start on server boot and start it:
    sudo systemctl enable aooserver.service
    sudo systemctl start aooserver.service
  5. Check Service Status: You can check the status of your service using:
    sudo systemctl status aooserver.service
  6. Restart, Stop, and Disable:
    • To restart the service: sudo systemctl restart aooserver.service
    • To stop the service: sudo systemctl stop aooserver.service
    • To disable the service from starting on boot: sudo systemctl disable aooserver.service

Now your aooserver binary will run as a persistent systemd service and will automatically start when the server boots up. The service will also be managed by systemd, providing features like automatic restarts in case of failure.

Please replace placeholders like service descriptions and paths with your actual values.

colabsplus's People

Contributors

dennislysenko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.