Skip to content

Tunki1201/commune-frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

CommuneAI Frontend

License: MIT Discord Chat [Website Uptime](https://www.Commune Frontendai.org/) [![Twitter Follow](https://img.shields.io/twitter/follow/Commune Frontendaidotorg.svg?style=social&label=Follow)](https://twitter.com/Commune Frontendaidotorg)

Commune Frontend is a website that aims to show all features of Commune Frontend community. Here you can know the aim of Commune Frontend community through whitepaper and several features like Commune Frontend modules, staking, huggingface modules, telemetry.

By embracing an unopinionated approach, Commune Frontend acknowledges the diverse needs and preferences of developers. It provides a flexible framework that allows developers to integrate specific tools seamlessly while avoiding imposing rigid structures or constraints. This adaptability enables developers to leverage Commune Frontend's capabilities in a manner that best aligns with their individual projects and workflows.

The overarching goal of Commune Frontend is to create a collaborative ecosystem where developers can easily share, connect, and extend their tools, ultimately fostering innovation and efficiency within the development community. By providing a network that encourages openness and accessibility, Commune Frontend empowers developers to leverage the collective knowledge and resources of the community to enhance their own projects.

Install

Frontend

    npm install
    npm run dev

For build

    npm run build

Setting Up With setup.py for backend

Install setuptools: If you haven't already installed setuptools, you can do so using pip:

pip install -r requirements; pip install -e .

Setting Up Commune Frontend With Docker

Install Docker: If you don't have Docker installed on your system, download and install it from the official Docker website: https://www.docker.com/get-started.

Clone the Commune Frontend Repository: Open your terminal or command prompt and clone the Commune Frontend repository from GitHub:

Get started with docker

Frontend container:

Build your frontend container

docker build -t commune-frontend ..

Run your container:

docker run -p 3000:3000 commune-frontend.

Backend container:

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/commune-ai/frontend
    
  2. Navigate to the cloned repository:

     cd backend
    
  3. Build the Docker image:

     docker build -t backend .
    
    

Running with docker

Frontend

```bash
make up 
```
or 
    
```bash
docker-compose build
```

Start Commune Frontend: Once the Docker container is built, start Commune Frontend by running the following command:

```bash
make start
```
or 
```bash
docker-compose up -d # -d for detached mode
```

To enter the docker container do, and do the following

```bash
make enter
```
or 
```bash
docker exec -it Commune Frontend bash
```

Then run the following command to run frontend

```bash
npm run dev
```

To exit the container

```bash
exit
```

Backend

```bash
make up 
```
or 
    
```bash
docker-compose build
```

Start Commune backend: Once the Docker container is built, start Commune backend by running the following command:

```bash
make start
```
or 
```bash
docker-compose up -d # -d for detached mode
```

To enter the docker container do, and do the following

```bash
make enter
```
or 
```bash
docker exec -it Commune backend bash
```

Then run the following command to run frontend

```bash
uvicorn main:app --reload
```

To exit the container

```bash
exit
```

What can I do with Commune

SignUp 👈

SignIn 👈

Key Features

Inclusive Design Philosophy: Commune is built to be maximally unopinionated. This means you have the freedom to use Commune alongside your existing projects, integrating seamlessly with the tools you already know and love.

Versatility: Developers can leverage Commune as a versatile set of tools, adapting it to their specific needs and workflows.

Interoperability: Easily incorporate additional tools you find valuable, expanding the capabilities of your projects without friction.

Join our community

We invite you to join our community of developers who are passionate about creating a more interconnected and efficient developer ecosystem. Together, we can drive innovation and collaboration in ways never before possible.

With CommuneAI 💻

dashboard.mp4

Flexibility 👋

Commune Frontend is a flexible framework designed for developers to share, connect, and enhance their tools, promoting collaboration and innovation within the community.

Modules 🚀

We can register any modules in CommuneAI and use them with Comtensor.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.1%
  • MDX 1.2%
  • Other 0.7%