A simple SvelteKit starter template for "JOUR 73361: Coding the News," a course taught at the City University of New York's Craig Newmark Graduate School of Journalism
- Click the green "Use this template" button on GitHub
- Clone your new repository to your computer
- Open the project in VS Code
- Open a terminal and run:
npm install
npm run dev- Open http://localhost:5173 in your browser
- Edit
src/routes/+page.svelteto customize your page
Your site will automatically deploy to GitHub Pages when you push to the main branch. To enable this:
- Go to your repository Settings > Pages
- Under "Source", select GitHub Actions
That's it! Every push to main will automatically build and deploy your site to https://<your-github-username>.github.io/<your-repository-name>/