Technical Documentation
Return to Main Documentation
ENGLISH - version 2.3
ENGLISH - version 2.3
  • Introduction
  • Getting started
    • Create your fork
    • Configure your fork
    • Keep your fork updated
    • Communication
  • Installation
    • Local installation
      • Prerequisites
      • Ubuntu Linux
      • Debian Linux
      • macOS
      • Windows
      • Vagrant
      • Docker
    • Production and staging servers
      • Installer
      • Create a deploy user
      • Generating SSH Key
      • Manual installation (not recommended)
      • Digital Ocean
      • Heroku
      • Mail server configuration
    • Basic configuration
    • User documentation and guides
  • Customization
    • Introduction
    • Translations and texts
    • Images
    • Styles with CSS
    • JavaScript
    • Models
    • Controllers
    • Views and HTML
    • Components
    • Other Ruby classes (GraphQL, lib, mailers, builders)
    • Gems
    • Application configuration
    • Routes
    • Tests
  • Technical Features
    • OAuth
    • GraphQL
    • Debates and proposals recommendations
    • Configure Census Connection
    • Local Census
    • Multitenancy
    • User content translations
  • Open Source project
    • Code of conduct
    • Contributing
    • Coding conventions
    • Open source forks and modifications
    • License
Powered by GitBook
On this page
  • Browser configuration
  • Port forwarding
  • Running the rails server
  1. Installation
  2. Local installation

Vagrant

PreviousWindowsNextDocker

Last updated 2 months ago

Install and setup a virtual machine with

Vagrant is compatible for and .

Browser configuration

To access the application through the browser at localhost:3000 we must forward a port and run the rails server with a binding option:

Port forwarding

Open the Vagrant configuration file:

nano Vagranfile

Find this line:

# config.vm.network "forwarded_port", guest: 80, host: 8080

And change it for this configuration:

config.vm.network "forwarded_port", guest: 3000, host: 3000

Reload your virtual machine:

vagrant reload

Running the rails server

In your virtual machine, run the application server, binding to your local ip address:

bin/rails s -b 0.0.0.0

Now you should be able to see the application running in your browser at url localhost:3000!

🎉
Vagrant
Linux
Debian
Ubuntu