|
| 1 | +#!/bin/bash |
| 2 | + |
| 3 | +mkdir -p actions-runner |
| 4 | +cd actions-runner |
| 5 | + |
| 6 | +curl -o actions-runner-linux-x64-2.311.0.tar.gz -L \ |
| 7 | +https://github.com/actions/runner/releases/download/v2.311.0/actions-runner-linux-x64-2.311.0.tar.gz |
| 8 | + |
| 9 | +echo "29fc8cf2dab4c195bb147384e7e2c94cfd4d4022c793b346a6175435265aa278 actions-runner-linux-x64-2.311.0.tar.gz" | shasum -a 256 -c |
| 10 | + |
| 11 | +tar xzf ./actions-runner-linux-x64-2.311.0.tar.gz |
| 12 | + |
| 13 | + |
| 14 | +# web4 project |
| 15 | + |
| 16 | +├── index.html # Main HTML file |
| 17 | +├── styles.css # CSS file for styling |
| 18 | +├── script.js # JavaScript for Web4 functionalities |
| 19 | +├── assets/ # Folder for static assets (images, icons, etc.) |
| 20 | +│ ├── logo.png # Example: Logo for your project |
| 21 | +│ ├── background.jpg # Example: Background image |
| 22 | +│ └── ... # Any other assets |
| 23 | +├── js-libraries/ # Folder for external JavaScript libraries |
| 24 | +│ ├── mqtt.min.js # MQTT library (already included via CDN) |
| 25 | +│ ├── ethers.min.js # Ethereum library (optional, for blockchain) |
| 26 | +│ └── ... # Other external libraries (optional) |
| 27 | +├── backend/ # Backend folder (if applicable) |
| 28 | +│ ├── server.js # Node.js server |
| 29 | +│ ├── routes/ # Backend route handlers |
| 30 | +│ │ ├── auth.js # Authentication route |
| 31 | +│ │ ├── nfts.js # NFT route handler |
| 32 | +│ │ └── ... # Other route files |
| 33 | +│ ├── package.json # Node.js dependencies |
| 34 | +│ ├── utils/ # Utility functions (e.g., IPFS integration) |
| 35 | +│ └── ... # Any other backend logic |
| 36 | +├── templates/ # Folder for templates (if using HTML templates) |
| 37 | +│ ├── trade.html # Trade functionality template |
| 38 | +│ ├── chat.html # Chat functionality template |
| 39 | +│ └── ... # Other template files |
| 40 | +└── README.md # Documentation for your project |
| 41 | + |
| 42 | +git add . |
| 43 | +git commit -m "Added files from phone" |
| 44 | +git commit -m "Added files from localfiles" |
| 45 | +git push origin main |
0 commit comments