Skip to content

ariqleesta/algoritmablog

 
 

Repository files navigation

🌟 Overview Algotech

Netlify Status All Contributors

Algotech is a website that host the technical blog of Algoritma. To serve the website locally, use the following R command:

blogdown::serve_site()


📝 Contributing Articles

Please follow the submission guidelines below:

  1. Fork the repository.
  2. Make a development version and add your article.
  3. Submit a pull request.

If the project owner agrees with your work, they will merge your request into the original repository.

1. Fork a Repo

Step-1:

  1. On github, navigate to the teamalgoritma/algoritmablog repository.
  2. On the top-right corner of the page, click fork.

Step-2: Keep your fork synced using Git. If you haven't yet, you should first set up Git.

  1. On github, click fork on the algoritmablog repository.
  2. Open Git Bash
  3. Type git clone, and then paste the URL of repository. It will look like this, with your GitHub username instead of YOUR-USERNAME:
$ git clone https://github.com/YOUR-USERNAME/algoritmablog
  1. Press Enter. Your local clone will be created.
$ git clone https://github.com/YOUR-USERNAME/algoritmablog
Cloning into 'algoritmablog'...
remote: Enumerating objects: 1592, done.
remote: Counting objects: 100% (1592/1592), done.
remote: Compressing objects: 100% (731/731), done.
remote: Total 1592 (delta 770), reused 1495 (delta 679), pack-reused 0
Receiving objects: 100% (1592/1592), 13.38 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (770/770), done.
  1. Type git remote -v and press Enter. You'll see the current configured remote repository for your fork.
$ git remote -v
> origin  https://github.com/YOUR_USERNAME/algoritmablog.git (fetch)
> origin  https://github.com/YOUR_USERNAME/algoritmablog.git (push)

2. Create an Article

YAML Options

Use the following template:

title: Creating Choropleth with Mapshaper and R
author: Ardhito Utomo
github: https://github.com/ardhitoutomo
date: '2019-08-18'
slug: creating-choropleth-with-mapshaper-and-r
categories:
  - R
tags: 
  - Geocoding
  - Mapshaper
  - Leaflet
  - Map
  - Data Visualization
description: ''
featured: ''
featuredalt: ''
featuredpath: ''
linktitle: ''
type: post

OR:

Create a new article by using the New Post addins on Rstudio (make sure you have already installed the blogdown package first).

Tags are keywords or terms that describe your article. Here are some tags that already exist:

  • tidyverse
  • tidymodels
  • Data Visualization
  • Machine Learning
  • Data Manipulation
  • Capstone ML

Note: Please add Capstone ML tags on your YAML options, if you are making an article that aims to help students on their capstone project.

Setup Chunk

Use the following setup chunk options on your Rmd files.

# clean up the environment
rm(list = ls())

# setup chunk options
knitr::opts_chunk$set(
  message = FALSE,
  warning = FALSE,
  fig.align = "center",
  comment = "#>"
)

Insert Article rmd and Data Input

  1. Make sure your article' rmd is in accordance with the settings in the previous step
  2. Move your article to /content/blog/
  3. Create a new folder and save your data input onto the path: `/content/blog/data_input/your topic article
some_object <- read.csv("data_input/article-topic/filename.csv")

Insert Images

  1. Create a new folder with your topic article in this directory: /public/img/.
  2. Save your images in /public/img/ARTICLE-TOPIC with the following name: imgname.png.
  3. Embed the images with the following command, and options echo = FALSE.
knitr::include_graphics('/img/article-topic/imgname.png')
  1. If the images does not appear, remove the code chunk above and replace it with:
<center> ![](/img/article-topic/imgname.png){width="60%"} </center>
  1. Convert your RMarkdown to html by running blogdown::serve_site(). The HTML need to be saved in the same directory as where your RMarkdown file is.

3. Submit Pull Request! 😁

  • Save your article
  • To test whether your article was successfully created or not, serve the website locally with blogdown::serve_site.
  • Open git bash
    • git add .
    • git commit -m 'your message'
    • git push
  • then submit a pull request to algoritma blog repository.

Contributors ✨


Ahmad Husain Abdullah

🚧 💻🤔

Yaumil Sitta

🖋📆👀

Nabiilah Ardini Fauziyyah

🖋📝

Argaadya

🖋

iqbalbasyar

🖋

David

🖋

Inayatus

🖋

ajengprstw

🖋

Tomy Tjandra

🖋

Dyah Nurlita

🖋

Joe Cristian

🖋

ttnsy

🖋

t3981

🖋

wulanandriyani

🖋

HafizahIlma

🖋

Dwi Nurdialit

🖋

shelloren

🎨

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Website for technical blog algoritma

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 84.6%
  • JavaScript 14.8%
  • CSS 0.6%