From ae135a0002900a1188bb06258f55534222942779 Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Thu, 2 Jan 2020 01:42:37 +0900 Subject: [PATCH] Add README.install and remove legacy scripts and notices --- README.install | 14 ++++++++++++++ README.md | 2 +- README.unix | 23 ----------------------- README.windows | 11 ----------- install_windows.cmd | 16 ---------------- notify.vbs | 2 -- test_prep | 14 -------------- 7 files changed, 15 insertions(+), 67 deletions(-) create mode 100644 README.install delete mode 100644 README.unix delete mode 100644 README.windows delete mode 100644 install_windows.cmd delete mode 100644 notify.vbs delete mode 100755 test_prep diff --git a/README.install b/README.install new file mode 100644 index 0000000..a37857e --- /dev/null +++ b/README.install @@ -0,0 +1,14 @@ +Installation of ZX + +For more complete installation information see the docs here: +Download/Install page: https://zxq9.com/projects/zomp/download.en.html + +Linux/BSD/OSX/*nix: +To install this program from the current bundle make the install_unix script +executable and run it. ZX will expect you to have $HOME/bin in your $PATH, +though it can install without this (though it may not successfully update +itself after installation). To uninstall make the uninstall_unix script +executable and run it. + +Windows: +Download the Windows installer from the download page (linked above). diff --git a/README.md b/README.md index 6fd1f15..7cb8108 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ZX: The Zomp client TLDR: If you have ZX on your system, "zx run [program name]" will launch any Erlang-based program that exists in the Zomp system. -"zx create project [foo]" will start a project for you. +"zx create project" will start a project for you. Read the [docs](http://zxq9.com/projects/zomp/) for more. Zomp is a from-source code repository and distributed distribution system. diff --git a/README.unix b/README.unix deleted file mode 100644 index 83a87f7..0000000 --- a/README.unix +++ /dev/null @@ -1,23 +0,0 @@ -Unix installation information for ZX - -This file contains information about how to install and run ZX on a Unix-type system. -Consult README.md for general information about ZX as a program and as a project. - -Current versions of ZX and this file can be found at https://zxq9.com/projects/zomp/ - -The unix startup script, "install_unix", must be set as executable to be used. -To set the script as executable: - chmod +x install_unix - -Then to execute the installer you will need to run the following command: - ./install_unix - - -From a GUI: - -If you are using a GUI you will need to do something like right-click the install_unix -file, then select "properties" (or "permissions" or something similar), and change the -file "mode" or "permissions" to include "execution" by the owner of the file (the user -account you are currently using should be the owner of the file). Once the file is set -as executable, run the file (probably by clicking on it). - diff --git a/README.windows b/README.windows deleted file mode 100644 index 94c4247..0000000 --- a/README.windows +++ /dev/null @@ -1,11 +0,0 @@ -Windows installation information for Windows - -This file contains information about how to install and run ZX on a Windows system. -Consult README.md for general information about ZX as a program and as a project. - -A quickstart guide for getting your system ready to run ZX (or any Erlang program) -is here: https://zxq9.com/projects/zomp/ - -Once you have an Erlang runtime installed (via the installer provided by Erlang -Solutions https://www.erlang-solutions.com/resources/download.html) you can click -to run the "install_windows" file in this directory. diff --git a/install_windows.cmd b/install_windows.cmd deleted file mode 100644 index 90b00d2..0000000 --- a/install_windows.cmd +++ /dev/null @@ -1,16 +0,0 @@ -@echo off -setlocal - -set versions=9.2 - -for %%v in (%versions%) do ( - if exist "%ProgramFiles%\erl%%v\bin\escript.exe" ( - "%ProgramFiles%\erl%%v\bin\escript.exe" install.escript - notify "Done!" - exit /b - ) -) - -echo Could not find the Erlang escript.exe executable -notify "Could not locate a expected Erlang runtime. Consult the README.windows file in this directory for more information." -exit /b \ No newline at end of file diff --git a/notify.vbs b/notify.vbs deleted file mode 100644 index 99e38b5..0000000 --- a/notify.vbs +++ /dev/null @@ -1,2 +0,0 @@ -messageText = WScript.Arguments(0) -MsgBox messageText \ No newline at end of file diff --git a/test_prep b/test_prep deleted file mode 100755 index b95d95d..0000000 --- a/test_prep +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -# This script prepares a general test environment. -# If it is invoked as $(path/to/script) the first time it is run the necessary -# environment variable will be exported. - -pushd $(dirname $BASH_SOURCE) > /dev/null -ZX_DEV_ROOT=$PWD -popd > /dev/null -ZOMP_DIR="$ZX_DEV_ROOT/tester" -rm -rf "$ZOMP_DIR" -cp -r "$ZX_DEV_ROOT/zomp" "$ZOMP_DIR" - -echo "export ZOMP_DIR=$ZOMP_DIR"