Skip to content

Latest commit

 

History

History
executable file
·
51 lines (37 loc) · 1.51 KB

README.md

File metadata and controls

executable file
·
51 lines (37 loc) · 1.51 KB

Chabok Documentation

Present chabok push sdk documentaition by jekyl static site generator

Installing some necessary packages

Jekyll requires Ruby to work.please check Ruby was installed. Now you can install Jekyll and bundler gems using the following command.

gem install jekyll bundler

switch to jekyll home directory

 bundle install

Now run the following command to build Jekyll.

jekyll build

You should see following output that the server is running.

onfiguration file: /home/jekyll/_config.yml
Configuration file: /home/jekyll/_config.yml
            Source: /home/jekyll
       Destination: /home/jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 0.401 seconds.
 Auto-regeneration: disabled when running server detached.
Configuration file: /home/jekyll/_config.yml
    Server address: http://127.0.0.1:4000/
Server detached with pid '7442'. Run `pkill -f jekyll' or `kill -9 7442' to stop the server.

The site will be now accessible on local system only as it is bound to localhost only. It will also listen to port 4000. You can configure it to listen to all the IP address as well as port number 80, you can run the following command.

bundle exec jekyll serve --host 0.0.0.0 --port 80 --detach

Jekyll generate static site in _site folder.