0.1.5 • Published 2 years ago

rosync-nodejs v0.1.5

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

RoSync

RoSync allows you to automatically sync your files from your local machine or from a online server like Replit. I suggest using replit if you want to collaborate with multiple people as this will make things easier for your team to collaborate on code. However a local server will be more than enough if you are working in solo mode. If you find any issues make sure to Create an issue.

Creating and setting up a RoSync project

To start a RoSync project create an empty folder, Then open a command prompt in that folder and type npm i rosync-nodejs Note: You require node.js 14.0 or above installed however I plan on making it easier to create and manage your Rosync projects later on. Now create a file called index.js and then use the following code sample to make your very own Rosync project.

const RoSync=require('rosync-nodejs');
RoSync.init('PROJECTNAME'); // REPLACE PROJECTNAME WITH THE NAME OF YOUR PROJECT.

Then you run the following command in the command prompt you opened earlier node ..

Upgrading your RoSync project.

To upgrade your RoSync project use the following code sample. And place it in your index.js file.

const RoSync=require('rosync-nodejs');
RoSync.fix();

Then you run open a command prompt in that folder and run the following command node ..

Starting your RoSync project.

Inside of your index.js file replace anything in it and use the following code to start your server. If you are running a local server its pretty simple. You just click the connect button. However if you change the port make sure you put that port in the 14812 box and click connect. If you are using Replit make sure to create a node.js project and follow the steps in the Creating and setting up a RoSync project section. THen click the Run button. Then you need to find your Repl's url and put in inside the box that has the text localhost in it, If you use Replit make sure to use port 0 to speed up the connecting time.

const RoSync=require('rosync-nodejs');
RoSync.StartServer();
0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago