Documented by kbruder tech✞ᵀᵀᴹ on Oct 09, 2020
Last updated on Jul 06, 2022
There's not much to downloading Lookaway CMS and running it locally on your own network or own server. Getting it up on the Internet however, is a bit more involved. If standing up a website were easy, everyone would have one! If you have at least a little experience using the Linux command line, I encourage you to give this a shot.
You will need sudo access to a server running Ubuntu Server 20 that is connected to the public Internet. You will also need a domain name which can easily be obtained to less than $15 in most cases.
Learn how to install the services needed to run a production server using Ubuntu Server 20
Learn how to configure a Postgresql database and role for use with Lookaway CMS
While logged in as the Lookaway service user, install virtualenv and create an environment for Lookaway CMS. Then activate the environment and change directory into the environment directory.
Learn how to create and activate a virtual software development environment in Ubuntu Server 20
(lookaway-env) git clone https://github.com/kylebruder/lookaway.git
(lookaway-env) cd lookaway
(lookaway-env) pip install -r requirements.txt
python - Building wheel for cffi (setup.py) ... error while installing the packages from requirements.txt in django - Stack Overflow
Follow this link if you have trouble installing the required python packages using pip.
Initialize Lookaway CMS and services for your specific host by creating secret keys and passwords and linking the appropriate configurations and files.
Learn how to initialize all of the modules, files, and configurations for a fresh production Lookaway CMS installation on a server running Ubuntu Server 20
For the next step, we will tie up some loose ends and create some links.
Configure system level services such as Nginx and Gunicorn needed to serve Lookaway CMS
Use the following commands to allow web traffic to and from the server.
$ sudo ufw allow http && sudo ufw allow https
$ sudo systemctl enable ufw
If you made it this far, great job! A fresh and empty Lookaway server should be ready for use. The last thing we need to do is enable the services in System V and restart the server to make sure everything starts at boot in the event that the server is restarted. Use the following commands to enable services and restart the server. Wait a few minutes, then log back into to check that your services are running.
$ sudo systemctl enable lookaway & sudo systemctl enable nginx & sudo systemctl enable postgresql & sudo systemctl enable postfix
$ sudo shutdown -r now
Learn how to nail down a baseline for "unique" hits to a website by using bash commands to filter and count lines in a Nginx access log file.
How I built the first Lookaway CMS web server appliance prototype using a Banana-pi W2 board and a pair of SSDs.
This is only a test. Lookaway CMS is an open source content management system for independent publishing. Built with Python and Django.
3MnhNRKgrpTFQWstYicjF6GebY7u7dap4u
Please donate some Bitcoin to our site. We can use it to keep developing Lookaway CMS.
MT61gm6pdp9rJoLyMWW5A1hnUpxAERnxqg
Please donate some Litecoin to our site. We can use it to keep developing Lookaway CMS.