This is an automated email from the ASF dual-hosted git repository.

janardhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b94f93  [DOC] Add update and commit workflow
9b94f93 is described below

commit 9b94f936d64eefbd89161c212899fa1ab9959829
Author: Janardhan Pulivarthi <[email protected]>
AuthorDate: Tue Dec 8 20:27:13 2020 +0530

    [DOC] Add update and commit workflow
---
 CONTRIBUTING.md | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..d584cdd
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,55 @@
+### Update and Commit workflow
+
+#### Prerequisites:
+Read through [Apache Version control 
infrastructure](https://infra.apache.org/version-control.html)
+
+Note: Commit access to the apache svn repository is required.
+
+>#### shell or Windows Powershell
+
+```powershell
+F:\Repo> git clone https://github.com/apache/systemds-website
+F:\Repo> svn checkout https://svn.apache.org/repos/asf/systemds 
systemds-website-svn
+F:\Repo> ls
+systemds-website
+systemds-website-svn
+```
+
+##### Build website contents
+```Powershell
+F:\Repo\systemds-website> npm install
+F:\Repo\systemds-website> gulp
+```
+
+##### Copy the website contents to svn repo
+
+1. on Powershell
+```Powershell
+F:\Repo\systemds-website-svn\site> Copy-Item -Path 
F:\Repo\systemds-website\_site -Recurse -Container:$false
+```
+
+2. Instead of `Copy-Item -Path .. -Recurse`, one could simply use `cp` on a 
`linux` based system.
+On Linux
+```shell
+F:\Repo\systemds-website-svn\site> cp -r F:\Repo\systemds-website\_site
+```
+
+![image](https://user-images.githubusercontent.com/53068787/81162333-a396c200-8faa-11ea-9b8c-6a7539f83344.png)
+
+
+**see Changes:**
+See modifications, to see only the expected changes were made. (If there are 
changes to other files simply do
+not add them!).
+![image](https://user-images.githubusercontent.com/53068787/81162446-d2149d00-8faa-11ea-95f2-ef84a69e117e.png)
+
+**svn commit:** 
+Select `svn commit` option, after right clicking the `systemml-website-svn` 
folder. 
+And add message based on the commits.
+![image](https://user-images.githubusercontent.com/53068787/81162752-51a26c00-8fab-11ea-996f-94ac1528dd4d.png)
+
+Provide your apache credentials, that you normally use to push for git 
repositories.
+![image](https://user-images.githubusercontent.com/53068787/81163010-b5c53000-8fab-11ea-9570-2de09598ebad.png)
+
+This would update the website. 
+
+**ProTip:** Always do a sanity check by knowing what all files changed.
\ No newline at end of file

Reply via email to