Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to update the website? #21

Closed
gallandarakhneorg opened this issue Mar 12, 2014 · 2 comments
Closed

How to update the website? #21

gallandarakhneorg opened this issue Mar 12, 2014 · 2 comments
Labels

Comments

@gallandarakhneorg
Copy link
Member

After committed a change in the module "io.sarl.docs.suite", how can I publish the changes on the web server sarl.io? May I use an automatic process, or copy the result of the Maven compilation into the repository sarl.github.io?

@ngaud
Copy link
Member

ngaud commented Mar 20, 2014

https://bitbucket.org/srodriguez/sarl-site/ this project contains the website creator

  • Edit the _config.yml, destination defines where you clone the SARL webiste
  • rake -T: provides all possible actions
  • rake post: add a new post
  • rack draft: add a new page
  • rake build : compile only the static html pages
  • rake build_full : it is quite long
  • rake preview : to preview it directly in the borwser
  • rake transfer : to copy the generated website into the real SARL website
  • rake deploy : to deply the website on git, equivalent of GIT commit, need to uncomment line 211 #execute("git push origin #{branch}")

Clone this project in github when every thing is OK

@gallandarakhneorg
Copy link
Member Author

The gems "nokogiri", "json", and "jekyll" must be installed by hand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants