This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
For developers and how to collaborate
MotorTruck1221 edited this page Jan 29, 2023
·
3 revisions
- Install Node.js
- Install npm
- Install git (If you are on Windows, you can use Git Bash instead of the default command prompt this is recommended)
- Alternatively you can install node and npm using nvm
- Windows: nvm-windows
- Linux And Mac: nvm
- Clone the repository using
git clone https://github.com/ruby-network/ruby
- Change directory to the cloned repository
cd ruby
- Install the dependencies using
npm install
- Run the project using
npm start
To change the website looks:
- Git clone the ruby-static repository using
git clone https://github.com/ruby-network/ruby-static
- Change directory to the cloned repository
cd ruby-static
- Install the dependencies using
npm install
-
Switch back to the ruby directory which you cloned earlier
-
Install the static files using
npm i (path to ruby-static directory)
- Run the project using
Any changes you make to the ruby-static directory will be reflected in the website automatically as long as the project is runningnpm start
-
- Open the browser and go to http://localhost:8080
When you are done making changes:
-
In the ruby-static directory git add, commit and push your changes
-
In the ruby directory first make sure to run
npm i github:ruby-network/ruby-static
- Then to make sure you're changes are reflected in our CI
rm -rf node_modules/
rm package-lock.json
npm i
After this you can commit and push your changes to the ruby repository
- Fork the repository
- Make a new branch for your changes
- Make your changes
- Commit and push your changes to your fork
- Make a pull request to the ruby repository and or the ruby-static repository
- Remember to follow contribution guidelines and code of conduct
The developers section has some information for contributors as well, but it is not necessary to follow it if you are not a developer.