Clean structure and update readme to reflect use of python.
This commit is contained in:
parent
bda8084172
commit
90b25e600b
5 changed files with 16 additions and 6 deletions
19
README.md
19
README.md
|
@ -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
|
||||
./setup_machine.sh
|
||||
python3 src/machine_setup.py
|
||||
```
|
||||
|
||||
# Set up basic nginx server
|
||||
# Running Tests
|
||||
|
||||
```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.
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
pytest
|
||||
.pytest_cache
|
Loading…
Reference in a new issue