Setting up a Rails website with Ajenti V (Redmine example)
In this tutorial we will set up a Ruby on Rails website with Ajenti V, using Redmine as example.
Prerequisites: Ajenti V (NGINX and Puma packages), Ruby, Gem, Bundler
1. Add gem "puma" to the Gemfile
![Image 20](/s/attachments/4472/5/1/a34c369929b6d7ab44bf4fcf2fa9713b.png)
2. Run bundle in the app directory
![Image 21](/s/attachments/4472/5/1/5322cdaab69cf3821dc2d818c2205dbf.png)
3. Navigate to Ajenti panel, and open Websites section. Click Create button, and expand newly created New Website entry.
![Image 13](/s/attachments/4472/5/1/1df00b4e3372c1c0b9ed51b6364ab3d9.png)
2. Uncheck Maintenance mode checkbox, set Name to "Redmine", and Path to the path containing Redmine files, for example, "/home/eugeny/redmine-2.3.3/".
![Image 22](/s/attachments/4472/5/1/df9c71d73df16578b4dc4afbf895c619.png)
3. Under Identification page, Create and set a domain entry.
![Image 17](/s/attachments/4472/5/1/48f9a73dd86479aeed2c2cafe2b453e5.png)
4. Under Content page, Create a new content entry of type Ruby Puma. Check Use Bundler and select appropriate Rails environment
![Image 16](/s/attachments/4472/5/1/4e11ddb99ef9e9fc1a908da353d8f97f.png)
![Image 23](/s/attachments/4472/5/1/ec77c0103fc2bfae03acbd6327b1ed99.png)
5. Click Apply changes
6. Done! Now navigate to http://domain/ to use your website.
Prerequisites: Ajenti V (NGINX and Puma packages), Ruby, Gem, Bundler
1. Add gem "puma" to the Gemfile
![Image 20](/s/attachments/4472/5/1/a34c369929b6d7ab44bf4fcf2fa9713b.png)
2. Run bundle in the app directory
![Image 21](/s/attachments/4472/5/1/5322cdaab69cf3821dc2d818c2205dbf.png)
3. Navigate to Ajenti panel, and open Websites section. Click Create button, and expand newly created New Website entry.
![Image 13](/s/attachments/4472/5/1/1df00b4e3372c1c0b9ed51b6364ab3d9.png)
2. Uncheck Maintenance mode checkbox, set Name to "Redmine", and Path to the path containing Redmine files, for example, "/home/eugeny/redmine-2.3.3/".
![Image 22](/s/attachments/4472/5/1/df9c71d73df16578b4dc4afbf895c619.png)
3. Under Identification page, Create and set a domain entry.
![Image 17](/s/attachments/4472/5/1/48f9a73dd86479aeed2c2cafe2b453e5.png)
4. Under Content page, Create a new content entry of type Ruby Puma. Check Use Bundler and select appropriate Rails environment
![Image 16](/s/attachments/4472/5/1/4e11ddb99ef9e9fc1a908da353d8f97f.png)
![Image 23](/s/attachments/4472/5/1/ec77c0103fc2bfae03acbd6327b1ed99.png)
5. Click Apply changes
6. Done! Now navigate to http://domain/ to use your website.
Сервис поддержки клиентов работает на платформе UserEcho