This is a Svelte project based on the template https://github.com/sveltejs/template.
Data from my account on Velib website
Note that you will need to have Node.js installed.
Install the dependencies...
cd velib
npm install
...then start Rollup:
npm run dev
Navigate to localhost:5000.
To create an optimised version of the app:
npm run build
You can run the newly built app with npm run start
. This uses sirv, which is included in your package.json's dependencies
so that the app will work when you deploy to platforms like Heroku.
Install surge
if you haven't already:
npm install -g surge
Then, from within your project folder:
npm run build
surge public my-project.surge.sh