# Initialize a Fresh Project [[Guides/Deno/Getting Started]] Run the following in your terminal: ``` deno run -A -r https://fresh.deno.dev ``` Follow the prompts: - [ ] Name the project (ex: `my-fresh-blog`) - [ ] Enter `y` for a styling library, then choose the option for `tailwindcss` - [ ] Choose whether or not you want VS Code support Once the project has been created, `cd` to the directory that was created. ## Confirm you can run the starter project If you've used [npm run scripts](https://docs.npmjs.com/cli/v10/using-npm/scripts) (the `scripts` property in `package.json`), then the `tasks` property in `deno.json` will feel familiar to you. ``` deno task start ``` This launches the blog, which listens on port `8000` , and watches source files for changes. Your output should look something like this: ``` Watcher File change detected! Restarting! Warning `"nodeModulesDir": true` is deprecated in Deno 2.0. Use `"nodeModulesDir": "auto"` instead at file:///Users/tony/code/deno/fresh-blog/deno.json 🍋 Fresh ready Local: http://localhost:8000/ Warning `"nodeModulesDir": true` is deprecated in Deno 2.0. Use `"nodeModulesDir": "auto"` instead at file:///Users/tony/code/deno/fresh-blog/deno.json ``` Great so far! This means the app is successfully running. Go ahead and enter `CTRL-C` to stop the app. Tailwind support relies on an npm module. This highlights the outstanding Node.js / npm ecosystem support that now ships with Deno. You can see the reference to the `tailwindcss` npm package under `imports` in `deno.json` and confirm that the package (and a few others) have been installed under the `node_modules` directory as well. The deprecation warning alerts you to a recent change for Deno 2 that hasn't made its way yet to the Fresh init template. Go ahead and open `deno.json` in your editor and update the last line: Change ```json "nodeModulesDir": true ``` To ```json "nodeModulesDir": "auto" ``` Try restarting the blog now: ``` Watcher File change detected! Restarting! 🍋 Fresh ready Local: http://localhost:8000/ ``` Check it out in your browser if you want, but we're going to delete all the boilerplate next and start from scratch. ## Delete (almost) all of the boilerplate We going to start from scratch by deleting everything we don't need. The only thing we're going to leave for convenience is the `static` directory (for using the basic Tailwind CSS integration to make styling easy) and the generic app and 404 components under `routes`. So why bother scaffolding in the first place if we're basically throwing out most of the initial code? The init prompts currently don't provide an option for starting off with a trim, vanilla project, but nevertheless, it's still convenient for starting out with functional code, even if we have to do some manual trimming. Enter the following command: ``` rm -rf components islands routes/api routes/greet ``` Replace the contents of `routes/index.tsx` with the following: ```tsx export default function Home() { return ( <></> ); } ``` You should now see a blank page at `http://localhost:8000`. Now you're ready to start actually implementing your blog!