|
| 1 | + |
| 2 | +# theOldGuard |
| 3 | +This is the createChinaApp cli tool |
| 4 | + |
| 5 | +# Setup |
| 6 | + |
| 7 | +> Note this is best used on a linux enviroment |
| 8 | +### Requirements |
| 9 | + |
| 10 | +The Deno runtime is required to run the old guard |
| 11 | +Linux |
| 12 | +`curl -fsSL https://deno.land/x/install/install.sh | sudo DENO_INSTALL=/usr/local sh` |
| 13 | +Windows |
| 14 | +`choco install deno` |
| 15 | + |
| 16 | +To learn more about [Deno](https://deno.land/). |
| 17 | + |
| 18 | + |
| 19 | + ### Lets begin |
| 20 | + This is a toolchain to setup and manage your software development |
| 21 | + |
| 22 | +- need to have an initialized git repository |
| 23 | +Install Deno Extension |
| 24 | +[Deno Extension](https://www.codenewbie.org/podcast/how-to-harness-privilege-to-create-equitable-design). |
| 25 | + |
| 26 | + |
| 27 | +> This tool is still in development |
| 28 | + |
| 29 | +## To Create A SPA run _best on linux_ |
| 30 | + |
| 31 | +`deno run --allow-run oldguard/index.ts spa ` |
| 32 | +which will then create a client folder with the china framework app created, and developed on parse and react |
| 33 | +so |
| 34 | +`cd client\client ` |
| 35 | +and run |
| 36 | +`npm install npm start` |
| 37 | + |
| 38 | +## To Create A Template |
| 39 | +`deno run --allow-run oldguard/index.ts template {subfoldername} {foldername} {filetype} {templatename}` |
| 40 | + |
| 41 | +`deno run --allow-run oldguard/index.ts template server page strandard home` |
| 42 | +[{filetype}](./io/temp/templates) |
| 43 | +` deno run --allow-run --allow-read --allow-env oldguard/index.ts local app ` |
| 44 | + |
| 45 | +## To Create A App run |
| 46 | + |
| 47 | + |
| 48 | +### ToDo |
| 49 | +1. create a add to client new remote for purposes of seperating the tool and the app |
| 50 | +2. a hook file generator based on it being the most used to start a page. |
| 51 | +3. a components module for the components |
| 52 | +4. create a push to vercel for deployment purposes. !still thinking about it |
| 53 | +5. a app template for SPA |
| 54 | +6. packaging this in npm for ease of use maybe for now just cloning works(creating more easy way to pull cli) |
| 55 | +7. Create A cloud flag to check if cloud cli |
| 56 | +8. Clean up code |
| 57 | +9. Manipulate from Browser |
0 commit comments