This is the commune ai project.
This project has three roles: user, owner, and friend like social network
1. Frontend Running
This is a Next.js project created to demonstrate how to run a Next.js application.
To get started with this project, follow the steps below:
- Clone the repository:
git clone https://github.com/commune-ai/frontend.git
- Install the dependencies:
cd next-js-project
npm install
- Run the development server:
npm run dev
Open http://localhost:3000 in your browser to see the application running.
In the project directory, you can run the following scripts:
Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the .next
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Starts the app in production mode.
Open http://localhost:3000 to view it in the browser.
To learn more about Next.js, check out the Next.js documentation.
2. Backend
-
go to backend folder and follow the steps
This is a Django project created to demonstrate how to run a Django application.
To get started with this project, follow the steps below:
- Clone the repository:
git clone https://github.com/your-username/django-project.git
- Install the dependencies:
cd django-project pip install -r requirements.txt
- Run the development server:
python manage.py runserver
Open http://localhost:8000 in your browser to see the application running.
In the project directory, you can run the following commands:
Runs the development server.
Open http://localhost:8000 to view it in the browser.The server will automatically reload if you make changes to the code.
Applies any database migrations needed for the project.
Creates a superuser for the admin interface.
To learn more about Django, check out the Django documentation.
This project is licensed under the MIT License - see the LICENSE file for details.