Pyloid-SvelteKit-boilerplate is a template for projects combining a SvelteKit frontend with a Python backend. Here, we'll explain in detail the project setup, development, and build process.
Before starting the project, you need to install all necessary dependencies.
npm install # node
poetry install # python
These commands performs the following tasks:
During development, you can run both frontend and backend servers simultaneously with the following command:
npm run dev # sveltekit
poetry run poe dev # pyloid
These commands performs the following tasks:
The concurrently package is used to run both processes in parallel.
To build the project for production deployment, use the following command:
npm run build # sveltekit
poetry run poe build # pyloid
These commands performs the following tasks:
This guide should help you understand the process of initializing, developing, and building a project using the Pylon Boilerplate. Backend packaging with PyInstaller simplifies deployment and facilitates dependency management.