Giter VIP home page Giter VIP logo

acml2021's Introduction

ACML 2021 Website

License

This is the code of the official website for the 13th Asian Conference on Machine Learning.

Development

Requirements

  • Ruby >= 2.7
  • Jekyll >= 4.2

Using Ruby

This requires the installation of Ruby and various dependencies. We recommend the use of rbenv for ease of development. You may also follow the Jekyll installation instruction.

  1. Install Bundler: gem install bundler.
  2. Clone this repository and open the cloned folder.
  3. Install the required gems: bundle install.
  4. Start the Jekyll server (with live reload): bundle exec jekyll serve --livereload
  5. The website should be available at http://localhost:4000/2021/

Using Docker

Please follow the Docker installation instruction to install Docker on your machine. You may also use Podman as an alternative to Docker. Once Docker is installed, you can clone this repository and open the cloned folder.

Run

To simply run the website, you can execute the following command:

docker run --rm --volume=$(pwd):/srv/jekyll -p 4000:4000 -it jekyll/jekyll jekyll serve --livereload

This will build the website and run a web server at http://localhost:4000/2021/.

Build and Run

If you don't want to keep rebuilding the website, you can build the website first, then simply run the website whenever you need.

docker build -t acml2021/website .

Where acml2021/website is the docker tag for our image. After it's completed, you can use this newly created image to run the website locally at http://localhost:4000/2021/ using the command:

docker run --rm -p 4000:4000 -v $(pwd):/srv/jekyll acml2021/website

Deployment

Jekyll builds the website at _site. Thus, we just need to push the content to the server and we are done.

Deployment Script

On Linux and macOS, deployment of the website can also be done automatically using deploy.sh script.

Setup

  1. Install lftp:
    • Linux: sudo apt install lftp
    • macOS: brew install lftp
  2. Set the FTP details and target deployment in .ftp_config. An example of the configuration is given in example.ftp_config.
  3. Multiple configuration of deployments are supported by writing different .ftp_config-<SERVER>. For example, you can write your staging server deployment configuration in .ftp_config-staging.

Deploy

Execute: ./deploy.sh. This will build the website and synchronize the latest changes made by Jekyll to the server. Following the example of staging configuration, you can execute ./deploy.sh staging to deploy to the staging server.

acml2021's People

Contributors

rizkiarm avatar olafyii 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.