I’m running into FATAL errors when I try to section up, what did I do wrong?
The section.io CLI is sensitive to where you clone specific repos, so following these steps will ensure a smooth set up.
Please follow these steps in order and down to the exact specifics.
Set up process
- Navigate your terminal or command prompt to your Documents directory
• Windows: cd C:\Users<user name here>\Documents
• Mac: cd ~/Documents/ - Make a directory within your “Documents” directory called “section” • Universal: mkdir section
- Make sure you have the latest version of “git”
• Windows: Make sure you have “git credential-manager” up-to-date. - Run the command: git clone https://github.com/section-io/section.cli.git
- Run the command: cd section.cli
- Get the path of the directory
• Windows: echo %cd%
• Mac: pwd - Copy and paste the output and ensure it’s exported to your system “Paths”
- Make sure you have the latest version of Virtual Box: https://www.virtualbox.org/wiki/
Downloads - In your Aperture portal, locate the “Developer PoP” in the left hand nav under “Set up”
- Copy the command: section up
- Change your directory in your terminal or command prompt to the “section” directory within
your “Documents” directory that contains the “section.cli” repository. - Important: You must run the “section up ” within the “section” directory alongside the “section.cli” repository.
- You should see the following messages if set up correctly:
Configuring virtual machine
Testing your site
- Modify your host file to point your domain at “192.168.35.10”
Thanks for this one!
2 Likes