|
1 | | -# Astroship Pro |
| 1 | +# 1FE Documentation |
2 | 2 |
|
3 | | -Astroship Pro is a Pro version of Popular Free Astroship Starter Template which was made for startups, marketing websites, landing pages & blog. Built with Astro & TailwindCSS. |
| 3 | +Official documentation repository for 1FE (One Front End) - A configuration-driven front-end platform that enables dynamic widget loading and micro-frontend architecture. Built with [Astro](https://astro.build) and [Starlight](https://starlight.astro.build). |
4 | 4 |
|
5 | | -This Pro Template is made by [Web3Templates](https://web3templates.com) |
| 5 | +## About 1FE |
6 | 6 |
|
7 | | -## Live Demo |
8 | | - |
9 | | -### [Astroship Pro Live Demo](https://astroship-pro.web3templates.com/) |
| 7 | +1FE is a powerful platform that allows organizations to build scalable front-end applications using a micro-frontend approach with dynamic configuration management, widget orchestration, and runtime dependency management. |
10 | 8 |
|
11 | | -### [Buy Astroship Pro Template](https://web3templates.com/templates/astroship-pro-astro-saas-website-template) |
12 | | - |
13 | | -#### [Get Free Version](https://web3templates.com/templates/astroship-starter-website-template-for-astro) |
| 9 | +## Live Demo |
14 | 10 |
|
15 | | -## Preview |
| 11 | +You can view the live documentation at: [1fe.com](https://1fe.com) |
16 | 12 |
|
17 | | - |
| 13 | +## Getting Started |
18 | 14 |
|
19 | | -## Installation |
| 15 | +### Prerequisites |
20 | 16 |
|
21 | | -If you are already have github access, you can click on the "Fork" button above to create a new repository from astroship to your account. Then you can do a `git clone` to clone it to your local system. |
| 17 | +- [Node.js](https://nodejs.org/) (version 22 or higher) |
| 18 | +- [Yarn](https://yarnpkg.com/) package manager |
22 | 19 |
|
23 | | -Alternatively, you can clone the project directly from the github repo to your local system. make sure you have github repo access. Send an email to hello@web3templates.com to get github repo access. |
| 20 | +### Installation |
24 | 21 |
|
25 | | -### 1. Clone the repo |
| 22 | +1. Clone this repository: |
26 | 23 |
|
27 | 24 | ```bash |
28 | | -git clone https://github.com/web3templates/astroship-pro.git myProjectName |
29 | | -# or |
30 | | -git clone https://github.com/web3templates/astroship-pro.git . |
| 25 | +git clone https://github.com/docusign/1fe-docs.git |
| 26 | +cd 1fe-docs |
31 | 27 | ``` |
32 | 28 |
|
33 | | -The `.` will clone it to the current directory so make sure you are inside your project folder first. |
34 | | - |
35 | | -> Note: If you are reading this on a downloaded zip file after purchase, just skip this step and start installing npm from the next step. |
36 | | -
|
37 | | -### 2. Install Dependencies |
| 29 | +2. Install dependencies: |
38 | 30 |
|
39 | 31 | ```bash |
40 | | -npm install |
41 | | -# or |
42 | 32 | yarn install |
43 | | -# or (recommended) |
44 | | -pnpm install |
45 | 33 | ``` |
46 | 34 |
|
47 | | -### 3. Start development Server |
| 35 | +3. Start the development server: |
48 | 36 |
|
49 | 37 | ```bash |
50 | | -npm run dev |
51 | | -# or |
52 | 38 | yarn dev |
53 | | -# or (recommended) |
54 | | -pnpm dev |
55 | 39 | ``` |
56 | 40 |
|
57 | | -### Preview & Build |
| 41 | +4. Open your browser and navigate to [http://localhost:8432](http://localhost:8432) to view the documentation locally. |
58 | 42 |
|
59 | | -```bash |
60 | | -npm run preview |
61 | | -npm run build |
62 | | -# or |
63 | | -yarn preview |
64 | | -yarn build |
65 | | -# or (recommended) |
66 | | -pnpm preview |
67 | | -pnpm build |
68 | | -``` |
| 43 | +### Making Changes |
69 | 44 |
|
70 | | -We recommend using [pnpm](https://pnpm.io/) to save disk space on your computer. |
| 45 | +1. Edit the documentation files in the `src/content/docs/` directory |
| 46 | +2. The development server will automatically reload your changes |
| 47 | +3. Visit [http://localhost:8432](http://localhost:8432) to see your updates |
71 | 48 |
|
72 | | -### Other Commands |
| 49 | +### Build for Production |
73 | 50 |
|
74 | 51 | ```bash |
75 | | -pnpm astro ... |
76 | | -pnpm astro add |
77 | | -pnpm astro --help |
| 52 | +yarn build |
78 | 53 | ``` |
79 | 54 |
|
80 | 55 | ## Project Structure |
81 | 56 |
|
82 | | -Inside of your Astro project, you'll see the following folders and files: |
| 57 | +Inside of this Astro documentation project, you'll see the following folders and files: |
83 | 58 |
|
84 | | -``` |
| 59 | +```text |
85 | 60 | / |
86 | 61 | ├── public/ |
87 | | -│ └── ... |
| 62 | +│ ├── favicon.svg |
| 63 | +│ └── robots.txt |
88 | 64 | ├── src/ |
89 | | -│ ├── components/ |
90 | | -│ │ └── ... |
91 | | -│ ├── layouts/ |
92 | | -│ │ └── ... |
93 | | -│ └── pages/ |
94 | | -│ └── ... |
| 65 | +│ ├── content/ |
| 66 | +│ │ ├── docs/ # Documentation content |
| 67 | +│ │ │ ├── getting-started/ |
| 68 | +│ │ │ ├── main-concepts/ |
| 69 | +│ │ │ ├── api-reference/ |
| 70 | +│ │ │ └── ... |
| 71 | +│ │ └── config.ts # Content collections config |
| 72 | +│ ├── components/ # Reusable Astro components |
| 73 | +│ ├── layouts/ # Page layouts |
| 74 | +│ └── assets/ # Images and other assets |
| 75 | +├── astro.config.mjs # Astro configuration |
95 | 76 | └── package.json |
96 | 77 | ``` |
97 | 78 |
|
98 | | -Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. |
99 | | - |
100 | | -Any static assets, like images, can be placed in the `public/` directory. |
101 | | - |
102 | | -## TailwindCSS |
103 | | - |
104 | | -TailwindCSS is already configured in this repo, so you can start using it without any installation. |
105 | | - |
106 | | -## Versions |
| 79 | +Documentation content is written in MDX format and stored in the `src/content/docs/` directory. Each file automatically becomes a page based on its file path. |
107 | 80 |
|
108 | | -Current version: v2.0.0 |
| 81 | +## Built With |
109 | 82 |
|
110 | | -## Credits |
| 83 | +- **[Astro](https://astro.build)** - Static site generator with excellent performance |
| 84 | +- **[Starlight](https://starlight.astro.build)** - Documentation theme built on Astro |
| 85 | +- **[TailwindCSS](https://tailwindcss.com)** - Utility-first CSS framework |
| 86 | +- **[MDX](https://mdxjs.com)** - Markdown with JSX support for interactive documentation |
| 87 | +- **[React Icons](https://react-icons.github.io/react-icons/)** - Icon library for UI elements |
111 | 88 |
|
112 | | -[Unsplash](https://unsplash.com) |
| 89 | +## Contributing |
113 | 90 |
|
114 | | -## 👀 Want to learn more? |
| 91 | +1. Fork the repository |
| 92 | +2. Create a feature branch (`git checkout -b feature/amazing-feature`) |
| 93 | +3. Make your changes to the documentation |
| 94 | +4. Test locally using `yarn dev` and visit [http://localhost:8432](http://localhost:8432) |
| 95 | +5. Commit your changes (`git commit -m 'Add some amazing feature'`) |
| 96 | +6. Push to the branch (`git push origin feature/amazing-feature`) |
| 97 | +7. Open a Pull Request |
115 | 98 |
|
116 | | -Feel free to check out [Astro Docs](https://docs.astro.build) or jump into our [Discord Chat](https://web3templates.com/discord). |
| 99 | +## Links |
117 | 100 |
|
118 | | -[](https://astro.build) |
| 101 | +- [1FE Main Repository](https://github.com/docusign/1fe) |
| 102 | +- [Astro Documentation](https://docs.astro.build) |
| 103 | +- [Starlight Documentation](https://starlight.astro.build) |
| 104 | +- [TailwindCSS Documentation](https://tailwindcss.com/docs) |
0 commit comments