Skip to content

Commit

Permalink
Vuetifying the Social Trading App and updated the ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
glitch-jpg committed Sep 29, 2023
1 parent acad996 commit f19e856
Show file tree
Hide file tree
Showing 13 changed files with 577 additions and 102 deletions.
131 changes: 131 additions & 0 deletions Social-Trading/README2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
# Superalgos Social Trading App

Welcome to Superalgos Social Trading App! This project is built with Vue.js, Vite, and Vuetify.

## Getting Started

To successfully run the app, please follow these preliminary steps:

### Pre-requisites

1. **Clone the Superalgos Repository:**
- Copy the entire Superalgos repository to your local machine.

2. **Setting up Your SocialPersona and UserProfile**

1. **Create a UserProfile:**
- If you don't have a UserProfile, follow the "Creating a User Profile" instructions in the Governance workspace.

2. **Create a GitHub Storage Container:**
- Add a User-Storage -> Github Storage -> Github Containers -> Open Storage Container.
- Create a repository in your GitHub account to store your profile, bots, and posts.
- Store the Open Storage Container configuration:
```json
{
"storageProvider": "Your-GitHub-UserName",
"storageContainer": "The-Name-of-Your-Repo"
}
```

3. **Link Open Storage Reference:**
- Go back to your UserProfile Node.
- Add a SocialPersona, Available Storage, and Open Storage Reference.
- Link the Open Storage Reference to the container you just created.

4. **Configure SocialTradingDesktopApp Node:**
- Add a `socialTradingDesktopApp` node to your UserProfile with the following configuration:
```json
{
"userProfile": {
"id": "Superalgos Generated",
"codeName": "GitHub UserName"
},
"storageProvider": {
"name": "Github",
"userName": "GitHub UserName",
"token": "GitHub-Token"
}
}
```

### Running the Project

1. **Ensure Node.js is Installed:**
- If you don't have Node.js installed, download and install it from [nodejs.org](https://nodejs.org/).

2. **Install Project Dependencies:**
- Open a terminal and navigate to the project directory:
```bash
cd ../Superalgo/Social-Trading/Vue-UI
```
- Install project dependencies:
```bash
npm install
```
-Go Back to the Main directory:
```bash
cd ../../
```

3. **Run the Project:**
- Type in your console:
```bash
node socialTradingVueDev
```
- This command starts the development server, and you can view your application in the browser.

4. **Start Developing:**
- Superalgos Social Trading App is now set up! Explore the source code, make changes, and start building with us on [Telegram](https://t.me/superalgosdevelop/19772).


### Project Structure

- src/: Contains the source code of the Vue.js application.
- public/: Contains static assets.

### Available Scripts

- "install:vue-cli": Checks if @vue/cli is installed globally and installs it if not.
- "add:vuetify": Checks if Vuetify is installed locally and adds it to the project if not.
- "start:dev": Prints a message and starts the Vite development server.
- "dev": Runs the install, add, and start scripts in sequence when the user runs npm run dev/ when you run node socialTradingVue.

### Troubleshooting

- If you encounter any issues or have questions, please refer to the issue tracker or create a new issue.

### Additional Information

- For more details on Vite, Vue.js, and Vuetify, refer to their official documentation:
- [Vite](https://vitejs.dev/)
- [Vue.js](https://vuejs.org/)
- [Vuetify](https://vuetifyjs.com/)

- Join the development community on Telegram: [Superalgos Development Group](https://t.me/superalgosdevelop/19772)

### Pending Changes and Work in Progress

1. **Unpushed Local Changes:**
- There are local changes on my development machine that have not yet been pushed to the GitHub repository. I will commit and push these changes soon.

2. **Unconnected Service Functions:**
- Some functions in the service router are not yet connected to the UI. This includes [list the specific functions or describe the functionality]. I'm actively working on connecting these functions to enhance the overall functionality of the application.

---

### Update History

- **Date:** [2023/08/27]
- Updated information about unpushed local changes and unconnected service functions in the README.

---

### To-Do List

- [ ] Commit and push local changes to the GitHub repository.
- [ ] Connect the following service functions to the UI:
- [ ] RemovePost Function
- [ ] Function 2
- [ ] Function 3

Happy coding!
163 changes: 149 additions & 14 deletions Social-Trading/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,161 @@
# Superalgos Social Trading App

Welcome to Superalgos Social Trading App! This project is built with:

### Vue UI

### React-UI

### Clean UI


_** This Document and App is Under Development **_

## Development Status

|**Active**|**Non-Active**|
|----------|------------|
|[Vue-UI](#vue-ui)| |
| |[React-UI](#react-ui)|
| |[Clean-UI](#clean-ui)|

_Anyone is welcome to start work back up on any non-active UI's at any time._




Welcome to Superalgos Social Trading App! This project is built with Vue.js, Vite, and Vuetify.

## Getting Started

To successfully run the app, please follow these preliminary steps:

### Pre-requisites

1. **Clone the Superalgos Repository:**
- Copy the entire Superalgos repository to your local machine.

2. **Setting up Your SocialPersona and UserProfile**

1. **Create a UserProfile:**
- If you don't have a UserProfile, follow the "Creating a User Profile" instructions in the Governance workspace.

2. **Create a GitHub Storage Container:**
- Add a User-Storage -> Github Storage -> Github Containers -> Open Storage Container.
- Create a repository in your GitHub account to store your profile, bots, and posts.
- Store the Open Storage Container configuration:
```json
{
"storageProvider": "Your-GitHub-UserName",
"storageContainer": "The-Name-of-Your-Repo"
}
```

3. **Link Open Storage Reference:**
- Go back to your UserProfile Node.
- Add a SocialPersona, Available Storage, and Open Storage Reference.
- Link the Open Storage Reference to the container you just created.

4. **Configure SocialTradingDesktopApp Node:**
- Add a `socialTradingDesktopApp` node to your UserProfile with the following configuration:
```json
{
"userProfile": {
"id": "Superalgos Generated",
"codeName": "GitHub UserName"
},
"storageProvider": {
"name": "Github",
"userName": "GitHub UserName",
"token": "GitHub-Token"
}
}
```

### Running the Project

1. **Ensure Node.js is Installed:**
- If you don't have Node.js installed, download and install it from [nodejs.org](https://nodejs.org/).

2. **Install Project Dependencies:**
- Open a terminal and navigate to the project directory:
```bash
cd ../Superalgo/Social-Trading/Vue-UI
```
- Install project dependencies:
```bash
npm install
```
-Go Back to the Main directory:
```bash
cd ../../
```

3. **Run the Project:**
- Type in your console:
```bash
node socialTradingVueDev
```
- This command starts the development server, and you can view the application in the browser.

4. **Start Developing:**
- Superalgos Social Trading App is now set up! Explore the source code, make changes, and start building with us on [Telegram](https://t.me/superalgosdevelop/19772).


## Development Status

|**Active**|**Non-Active**|
|----------|------------|
|[Vue-UI](#vue-ui)| |
| |[React-UI](#react-ui)|
| |[Clean-UI](#clean-ui)|

_Anyone is welcome to start work back up on any non-active UI's at any time._

---


### Project Structure
- src/: Contains the source code of the Vue.js application.
- public/: Contains static assets.

### Available Scripts

- "install:vue-cli": Checks if @vue/cli is installed globally and installs it if not.
- "add:vuetify": Checks if Vuetify is installed locally and adds it to the project if not.
- "start:dev": Prints a message and starts the Vite development server.
- "dev": Runs the install, add, and start scripts in sequence when the user runs npm run dev/ when you run node socialTradingVue.

### Troubleshooting

- If you encounter any issues or have questions, please refer to the issue tracker or create a new issue.

### Additional Information

- For more details on Vite, Vue.js, and Vuetify, refer to their official documentation:
- [Vite](https://vitejs.dev/)
- [Vue.js](https://vuejs.org/)
- [Vuetify](https://vuetifyjs.com/)

- Join the development community on Telegram: [Superalgos Development Group](https://t.me/superalgosdevelop/19772)

### Pending Changes and Work in Progress

1. **Unpushed Local Changes:**
- There are local changes on my development machine that have not yet been pushed to the GitHub repository. I will commit and push these changes soon.

2. **Unconnected Service Functions:**
- Some functions in the service router are not yet connected to the UI. I'm actively working ON enhance the overall functionality of the application.

---

### Vue UI
### Update History

Launch the Vue-UI Superalgos Social Trading App by running:
```
npm run startSocialTrading
```
- **Date:** [2023/08/27]
- RemovePost()

### React-UI
---

### Clean UI
### To-Do List



- [ ] Connect the following service functions to the UI:
- [ ] RemovePost Function
- [ ] Function 2
- [ ] Function 3

Happy coding!
15 changes: 9 additions & 6 deletions Social-Trading/Vue-UI/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>

<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico">
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Superalgos Social Trading</title>
</head>
<body>
<title>Vuetify 3 Vite Preview</title>
</head>

<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</body>

</html>
20 changes: 15 additions & 5 deletions Social-Trading/Vue-UI/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,33 @@
"name": "vite-project",
"version": "0.0.0",
"private": true,
"scripts": {
"scripts": {
"serve": "vite preview",
"build": "vite build",
"dev": "vite",
"install:vue-cli": "npm list -g @vue/cli || npm install -g @vue/cli",
"add:vuetify": "npm list vuetify || vue add vuetify",
"start:dev": "echo 'Vue CLI and Vuetify are set up! Proceeding with Vite' && vite",
"dev": "npm run install:vue-cli && npm run add:vuetify && npm run start:dev",
"preview": "vite preview"
},
"dependencies": {
"@ethereumjs/util": "^8.0.3",
"@mdi/font": "5.9.55",
"@walletconnect/sign-client": "^2.3.0",
"@web3modal/standalone": "^2.0.0-rc.3",
"vue": "^3.2.41",
"roboto-fontface": "*",
"vue": "^3.3.4",
"vue-router": "^4.1.6",
"vuex": "^4.0.0"
"vuetify": "^3.0.0-beta.0",
"vuex": "^4.0.0",
"webfontloader": "^1.0.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.0.0",
"@vue/cli-plugin-vuex": "^5.0.6",
"vite": "^4.0.1"
"vite": "^4.0.1",
"vite-plugin-vuetify": "^1.0.0-alpha.12",
"vue-cli-plugin-vuetify": "~2.5.8"
},
"type": "module"
}
Loading

0 comments on commit f19e856

Please sign in to comment.