-
Notifications
You must be signed in to change notification settings - Fork 200
NPM
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
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.