Skip to content
Remie Bolte edited this page Oct 2, 2015 · 2 revisions

YouTransfer is also available as an NPM package. This allows you to start a new NodeJS project, edit the source and customize the experience for your users.

You can install the NPM package by running npm install youtransfer -g

Starting a new NodeJS project

To start a new NodeJS project based on YouTransfer, create a new empty directory (e.g. '~/meTransfer'). Run youtransfer init in your project directory, which will copy all necessary files. Finalise the project setup by running npm init and npm install.

Once your project is ready you can run npm start to start the application. Your project will now be available in your browser (http://localhost:5000). You can change the default port in the config.json file.

For local development, the npm run dev command which will start a file-system watch which will automatically regenerate the static content upon change.

Clone this wiki locally