Skip to content

lhoang/velib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Velib app

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.

Get started

Install the dependencies...

cd velib
npm install

...then start Rollup:

npm run dev

Navigate to localhost:5000.

Building and running in production mode

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.

Deploying to the web

With surge

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

About

Stats Vélib with Svelte, D3, deployed on Surge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published