create-dstack-app
Version:
Init a project with DStack, a front-end tech stack.
40 lines (31 loc) • 1.37 kB
Markdown
# DStack Starter Template
```sh
npm create dstack-app@latest
```
> **Experienced developer?** Delete this file. Have fun!
## Project Structure
Inside of your DStack project, you'll see the following folders and files:
```text
/
├── app
│ ├── favicon.ico # Favicon
│ ├── layout.tsx # Next.js layout
│ └── page.tsx # Landing page
├── public # Public directory
├── styles # Store your CSS files here
│ └── app.css # TailwindCSS and DaisyUI styles
├── .gitignore # .gitignore file
├── next.config.ts # Next.js configuration
├── package.json # package.json file
├── postcss.config.js # PostCSS configuration
├── README.md # This file
├── tailwind.config.ts # TailwindCSS configuration
└── tsconfig.json # TypeScript configuration
```
## 🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :-------------- | :------------------------------------------ |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:3000` |
| `npm run build` | Build your DStack project |