Git Product home page Git Product logo

narayana.io's Introduction

Preparing the environment

Install awestruct (verified on Fedora 35):

sudo dnf -y update && sudo dnf -y install gcc-c++ make ruby-devel libxml2-devel libxslt-devel libffi-devel findutils git ruby tar redhat-rpm-config which python2 patchutils gem && sudo dnf clean all

Install NodeJS as it is required by the JavaScript compression module:

sudo dnf install nodejs

Clone this repository (or your fork). Development code is stored on the develop branch:

git clone https://github.com/jbosstm/narayana.io.git
cd narayana.io
git checkout develop

Install required gems (on rhel this command might be executed with sudo):

bundle install

For more information about Awestruct refer https://github.com/awestruct/awestruct

Web page preview

To build and run a preview of the website on a local server:

awestruct -d

Deploying web page (to update)

Clean all unnecessary junk if required

git clean -d -f -x

Build deployable web page. This will generate the production web site.

awestruct -P production

To upload the (new) production web site, run the following command. If everything went OK, the new web site is updated automatically.

rsync -Pr --protocol=28 --delete-after _site/* jbosstm@<rysnc_hostname>:www_htdocs/jbosstm/

narayana.io's People

Contributors

tomjenkinson avatar ochaloup avatar mmusgrov avatar jmfinelli avatar nmcl avatar xstefank avatar zhfeng avatar mayankkunwar avatar marcosgopen avatar sudeshnas93 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.