diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-12-02 00:39:27 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-12-02 01:38:35 -0500 |
commit | 7c953856aa43cc37d9dacb4cffe1f74f97355681 (patch) | |
tree | 1d4284a05ac1613a079852ea78d85b60856c44c7 /README.md | |
parent | 626e6d2b793324d780ef9eba3c974bc2b7a52fa3 (diff) | |
download | thedroneely.com-7c953856aa43cc37d9dacb4cffe1f74f97355681.tar.gz thedroneely.com-7c953856aa43cc37d9dacb4cffe1f74f97355681.tar.bz2 thedroneely.com-7c953856aa43cc37d9dacb4cffe1f74f97355681.zip |
README: Update readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 58 |
1 files changed, 58 insertions, 0 deletions
@@ -1,2 +1,60 @@ # Personal Portfolio for Thedro Neely Core source code for https://www.thedroneely.com + +<a href="https://www.thedroneely.com/images/trying-out-this-website.png"> + <img src="https://www.thedroneely.com/images/trying-out-this-website.png" alt="Deployed Website" width="514" height="300"> +</a> + +## Using The Deployed Linux Container + + +Create a container for the website called "app". +```sh +lxc-create -n app -t download -- --dist alpine --release 3.10 --arch amd64 +``` + +Change to the container directory. +```sh +cd /var/lib/lxc/app +``` + +Remove the old base container filesystem. +```sh +rm -rf rootfs/* +``` + +Download the website at [https://www.thedroneely.com/download/rootfs.tar.gz](https://www.thedroneely.com/download/rootfs.tar.gz). +```sh +wget https://www.thedroneely.com/download/rootfs.tar.gz +``` + +Extract the contents to the container filesystem. +```sh +tar --numeric-owner -xzvf rootfs.tar.gz -C rootfs/ +``` + +Start the website +```sh +lxc-start -n app +``` + +Get the IP address +```sh +lxc-ls -f +``` +```sh +NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED +app RUNNING 0 - x.x.x.x - false +``` + +## Notable Endpoints + +Cockpit CMS can be accessed at http://x.x.x.x/cockpit. +```sh +Username: admin +Password: admin +``` +Isso commenting administration page can be accessed at http://x.x.x.x/isso/admin +```sh +Password: changethis +``` |