Cordelya / axemoor-bootstrap

GNU General Public License v3.0
0 stars 0 forks source link

Bootstrapping a Dev Environment for Axemoor

This repository has moved to GitLab. Please visit Cordelya's GitLab and you'll find the active project there.

CAUTION: This repo is still under initial development and is untested. Do not follow these instructions until this line disappears from this file

If you are helping to test these, make sure you grab from the appropriate branch for the time being.

This is a collection of bash scripts and help files designed to facilitate setting up a web development environment on a new linux install for Axemoor webministers, with heavy support for git on the CLI. Built on and for Ubuntu and/or Raspbian. May work with other distros. Open a new issue to tell me about how it went with a different OS and we'll see about adding compatibility. Designed to be used on "fresh" OS installs, and may not work as expected on a system that has been used, especially if configs have been changed. If you're using such a system and you're familiar with it, review the script before you run it.

Notes for those using this file

First Steps

If you're using Raspbian

$ curl https://raw.githubusercontent.com/Cordelya/axemoor-bootstrap/master/raspbian-init.sh > $HOME/raspbian-init.sh
$ chmod +x $HOME/raspbian-init.sh # this makes the file executable
$ PATH=$PATH:$HOME # this tells bash where to find the file
$ raspbian-init.sh # this begins the install and config process

If you're using Ubuntu

# On Ubuntu:
$ curl https://raw.githubusercontent.com/Cordelya/axemoor-bootstrap/master/ubuntu-init.sh > $HOME/ubuntu-init.sh # Ubuntu
$ chmod +x $HOME/ubuntu-init.sh # this makes the file executable
$ PATH=$PATH:$HOME # this tells bash where to find the file
$ ubuntu-init.sh # this begins the install and config process

If running the *****-init.sh script throws a "not found" error

$ bash *****-init.sh # run the init script (use the right file name) with "bash" preceding it

The first line downloads the file. The second line makes it executable. The third line runs the file. You may be prompted to enter your system user account password, so have it handy. The file will install all of the necessary software, do initial webserver configuration, and do initial git configuration, including making a new directory, "help" and cloning this repository to that location, which gives you access to the help files[1]. Expect the install portion to take some time. Go do something else for 10 minutes and come back.

End-user intervention

There are some actions you, the user must take before you are fully set up. They are:

This is the end of the startup instructions. Additional help is available in your development environment by typing

$ axemoor.sh # if you know the help topic keyword you're looking for, you can type it after axemoor.sh (but leave a space between)

Or you can browse the help files online in this repository, under /helpfiles

Footnotes

[1] Help files are under development and may not exist yet