Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Fortytwo-Node

Fortytwo is a decentralized AI protocol using swarm intelligence to overcome centralized AI scalability issues. It runs small AI models across distributed devices, tapping into idle computing power from laptops and desktops. This enables a scalable, efficient, and low-cost AI ecosystem.

image

Installation

If Docker is already installed, skip this step.

sudo apt update
sudo apt install -y docker.io
sudo systemctl enable --now docker

Navigate directory

mkdir ~/capsule-docker
cd ~/capsule-docker

Create Dockerfile

nano Dockerfile
  • Paste this code:
FROM debian:unstable

# Install required packages including libgomp1
RUN apt-get update && \
    apt-get install -y libgomp1 curl ca-certificates python3 python3-venv libblas3 liblapack3 && \
    python3 -m venv /app/venv && \
    /app/venv/bin/pip install --no-cache-dir requests && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

# Set working directory
WORKDIR /app

# Download and extract Fortytwo app
RUN curl -L -o fortytwo-console-app.zip https://github.com/Fortytwo-Network/fortytwo-console-app/archive/refs/heads/main.zip && \
    unzip fortytwo-console-app.zip

# Set working directory to the app folder
WORKDIR /app/fortytwo-console-app-main

# Copy run command only, activation code will be added manually later
RUN chmod +x linux.sh

# Default to bash so you can enter and run linux.sh manually with activation code
CMD ["/bin/bash"]

Build & Run:

docker build -t fortytwo-capsule .
docker run -it --name fortytwo-dev fortytwo-capsule /bin/bash

Execute

chmod +x linux.sh && ./linux.sh
  • Select option [1-2]: 1

  • You selected: Create a new identity with an invite code

  • Enter your invite code: Check email

image

  • Every AI node in the Fortytwo Network has unique strengths.
  • Choose how your node will contribute to the collective intelligence:

image

  • Note: you cant choose any, It depends on how much RAM is left on your system(VPS) but for me i choose 1.

OUTPUT

image

DONE

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages