Creating a project
Prerequisites
- You know how to use the terminal (Guide).
- You have ddev installed (Guide).
- You have node and npm installed, we recommend using a version manager like nvm or fnm.
If the following commands each return a version number you are good to go:
bash
ddev -v
node -v
npm -vCreate a new project
The simplest way to create a new Crelte project is to run npx crelte-cli create:
bash
npx crelte-cli create my-project
cd my-project/svelte
npm run devThis will create a new project in the my-project directory and prompt you with a few questions, e.g. the name of your site and the initial username and password. To explore Crelte we recommend choosing the blog starter template. This will include a few example pages and a blog section showing some features which make crelte great.