Clean structure and update readme to reflect use of python.

This commit is contained in:
James Grogan 2024-03-29 12:49:42 +00:00
parent bda8084172
commit 90b25e600b
5 changed files with 16 additions and 6 deletions

View file

@ -1,14 +1,23 @@
This repo is a collection of ad-hoc scripts and snippets for setting up and administering a small cloud server. They are just a stepping stone toward for formal automation. This repo has some scripts that I use for managing machines and containers.
# Machine setup # Samples
## Set up a machine with a named non-root user and some secure ssh config.
```sh ```sh
./setup_machine.sh python3 src/machine_setup.py
``` ```
# Set up basic nginx server # Running Tests
```sh ```sh
./setup_basic_nginx.sh python3 -m venv --prompt machine_admin .venv
source .venv/bin/activate
pip install -r test/requirements.txt
pytest
``` ```
# Copyright
The contents of this repo are Copyright James Grogan 2024. Software is licensed under the AGPL. See the included LICENSE file for details.

View file

@ -1 +1,2 @@
pytest pytest
.pytest_cache