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
+```
+
+
+
+
+**see Changes:**
+See modifications, to see only the expected changes were made. (If there are
changes to other files simply do
+not add them!).
+
+
+**svn commit:**
+Select `svn commit` option, after right clicking the `systemml-website-svn`
folder.
+And add message based on the commits.
+
+
+Provide your apache credentials, that you normally use to push for git
repositories.
+
+
+This would update the website.
+
+**ProTip:** Always do a sanity check by knowing what all files changed.
\ No newline at end of file