You can use AlchemyCMS to create your personal or business websites in minutes by creating markup pages and content. It splits pages into logical parts like headlines, paragraphs, images, etc. The only thing it stores in the database is text, ids of images, and rich text content. Nothing else. For more about AlchemyCMS, check its homepage. These are the packages we’re going to set up.
Ruby version 2.5.3 Rails version 5.2.1 MySQL Server
Install Ruby
To install Ruby and Rails on Ubuntu, you’ll need to install some dependencies. To make that happen, install Node.js and Yarn repositories. This will make installing the dependencies easier. First, install these curl and git packages. Then run the commands below to add Node.js and Yarn repositories and keys to your system. Then install some core packages to get your environment going. When you’re done. continue below: After adding the repositories and installing the necessary packages above, install Ruby with your local profile settings using rbenv. you’ll then use rbenv to install ruby-build. After setting up your local profile. run the commands below to install Ruby version 2.5.3. If a newer version is available, replace the version number with that. visit this site to find out Ruby’s latest versions. To verify that Ruby is installed, run the commands below: You should see similar lines below: Another package management you’ll want to install is bundler. to do that, run the commands below Now run the command below after installing the bundler.
Install MySQL Server
MySQL server can be installed on Ubuntu by running the commands below:
Install Rails
Now that the Ruby environment is set up, run the commands below to install Rails. Rails can be installed from Node.Js. Run the commands below to install the Node.js repository, then install the Node.js package. Now that Node.js is installed, run the commands below to install Rails. Don’t forget to rehash your rbenv environment installing install new packages. To verify if Rails is installed, run the commands below. You should see something similar to the lines below: The installation of AlchemyCMS is very easy. You just need to run Ruby’s gem command. To do that, run the commands below.
Configure AlchemyCMS
Now that your environment is ready, run the commands below to install Alchemy CMS and build your first site. Alchemy is a Rails 4 engine, so at first, you need to generate a fresh Rails 4 application, by running this command Next, change it into the Alchemy CMS folder and install it there. Then run the commands to open the Gemfile there. When it opens, copy and paste the lines below into the file and save. Then the file should look like this: Save and exit. After that, run the commands below: After that, you should see the message below: After a while, the necessary packages should be installed. When you’re done, run the commands below to finish installing the CMS. Now that you have AlchemyCMS successfully installed, let’s move on by creating your first user with administrative privileges. Run the commands below to start the server. Open your browser and browse to the localhost followed by port # 3000. You should see the AlchemyCMS home page. Log on to the backend using the admin address and password. You will be greeted with a screen that is prompting you to create the first user. Congratulations, you can now access the backend. Log on to the backend and start building your content. Congratulation! You have successfully installed the AlchemyCMS platform on Ubuntu 16.04 | 18.04 | 18.10 You may also like the post below: