Featured image of post Building a Blog for Free with CODING [Supports Dynamic Programs]

Building a Blog for Free with CODING [Supports Dynamic Programs]

Just love tinkering...

When I first started learning, I used WordPress for blogging. Later I experimented with GitHub, tried the sophisticated GitHub Pages blog platform for quite some time, but found pure static blogs couldn’t fully meet my needs. Though various plugins could compensate, it remained a workaround.
Eventually I returned to WordPress.

Creating a CODING Repository

  1. Visit the official website (register if needed)
  2. Create a new repository
  3. Fill in repository info and click Create
  4. Get an empty repository ready for blog code upload (note the git URL)

Download WordPress

git init
git add -A
git commit -m 'first commit'
## Replace URL with your own
git remote add origin https://git.coding.net/seth-shi/test.git
git push -u origin master
  • After pushing, enable dynamic page service:
    Navigate to your project > Code > Page Service > Dynamic Page > Enable
  • Preview configurations (PHP7.1 support! Can set root directory - perfect for Laravel)
  • View MySQL connection info (needed later)
  • Deploy master branch to get a subdomain
  • Access the domain to see WordPress installation page
  • Input database credentials from step 7 and click “Run Installation”
  • Complete registration and start blogging!

For custom domains (requires premium membership).

Note for Laravel projects: CODING doesn’t support composer yet. As confirmed by support, you need to push vendor directory manually (though they plan to add this feature later - awesome service!).