Follow the guide below if you'd like to get rSR running locally to start contributing.
- Clone this repository.
- Run
cd rsr
to change into this repo's directory. - Run
npm link
to create a symlink on your system.
You will now be able to create a project locally and have access to the rSR CLI in that project. Follow the steps below to create a new local project and test your local copy of rSR out on it.
- Create a new project and
cd
into its directory. - Run
npm link @reintroducing/rsr
in your new project directory. - Run
rsr -e contrib
to download all the necessary dependencies so that your project can run effectively and you can test any rSR command. - Run
rsr
to initialize a new project and scaffold the files.
You can now run other commands like rsr -e start
and rsr -e build
to see what happens to your project based on any edits you make to the rSR source code.