665 Commits

Author SHA1 Message Date
Athanasius
096ccab9fb docs/Running: Outline for using Apache 2021-07-01 17:30:48 +00:00
Athanasius
7684cec4d5 .gitignore: VIM swap files 2021-07-01 17:30:37 +00:00
Athanasius
4e343fe444 docs/running: a start on apache config 2021-07-01 18:11:13 +01:00
Athanasius
8add1a4409 Merge branch 'enhancement/118/venv-and-setup.py' of github.com:EDCD/EDDN into enhancement/118/venv-and-setup.py 2021-07-01 18:10:12 +01:00
Athanasius
086493b5bf Make it possible to split dev and live installs
* Have 'dev' and 'live' components to many paths and file names.
* Have separate dev/live systemd start script configs.
* Have the systemd start script take a dev/live second argument.
* Try to ensure permissions on 'web' files by explicitly setting umask.
2021-07-01 16:52:25 +00:00
Athanasius
451b93db1d docs/Running: Correct placement of "Reverse Proxy with nginx" section 2021-07-01 15:41:44 +01:00
Athanasius
2c06b8e79e systemd: start script - exec the python 2021-06-14 17:34:34 +01:00
Athanasius
f98809fd2e systemd: Correct AssertPathExists to python venv 2021-06-14 17:32:13 +01:00
Athanasius
d16e222a99 docs/Running: Mandate the python venv installation
Let's stop guessing at how the reader wants to do it and just *tell*
them how to do it instead.

Python virtual environment, done.
2021-06-14 17:12:43 +01:00
Athanasius
db7b69473b docs/: Add example override config file 2021-06-14 17:12:28 +01:00
Athanasius
6bc7d3042d contrib/init.d: Tweak DAEMON setting for python venv install 2021-06-14 17:08:47 +01:00
Athanasius
c6db4b2733 docs/Running: ${HOME} not ~ / python venv un-versioned symbolic link
* Let's stick with Bourne Shell, not BASH-isms.
* If we make everything use ~/eddn/python-venv symbolic link then
there's less to update in the future.
2021-06-14 16:52:04 +01:00
Athanasius
b58acec1c9 setup.py: Call out what we're doing in these extra steps 2021-06-14 16:45:41 +01:00
Athanasius
e8c1e3b03a setup.py: Ensure CWD is as expected & copy example config if needs be 2021-06-14 16:42:02 +01:00
Athanasius
548f7c3cb3 setup.py: Get 'extra' files in place - monitor, schemas, systemd files
* 'monitor' files are for the web page showing status/stats.
* 'schema' files are a publically available copy of the schemas in-use.
* 'systemd' files are the start-<service> script and its config file.
2021-06-14 16:30:11 +01:00
Athanasius
152bd86818 setup.py: A little reformatting for readability 2021-06-14 15:55:49 +01:00
Athanasius
4c2f379480 contrib/systemd: Adjusted service file and script for python venv 2021-06-14 15:52:39 +01:00
Athanasius
415f5bb17d systemd: Change to a single script for starting services
* Pass the EDDN service to be started as $1.
* eddn_config now defines a python venv activate script to use.
* And this new central script uses that.
2021-06-14 15:22:58 +01:00
Athanasius
165a00599f docs/Running: We should use a python venv 2021-06-14 15:15:10 +01:00
Athanasius
4edb1e7e21 setup.py: Comment about schemas only being for code, not website 2021-06-14 15:01:07 +01:00
Athanasius
f033b3621b setup.py: Pin versions of install_requires packages
Yes, I know that:

<https://packaging.python.org/discussions/install-requires-vs-requirements/>

says not to do this in install_requires.  But there's at least the issue
of pyzmq's later versions just not working with python 2.7.

These are the versions we *know* work currently.
2021-06-14 14:53:54 +01:00
Athanasius
d185618d57 setup.py: Update author and URL
edcd@miggy.org is a placeholder, can be tweaked by Athanasius to
anything required.
2021-06-14 14:43:24 +01:00
Athanasius
04b28b61c0
Merge pull request #122 from EDCD/fix/118/schemaTodayYesterday-typo
monitor: Fix typo of schemasTodayYesterday with its 's' on 'schemas'
2021-06-14 13:01:39 +01:00
Athanasius
d1159b6bbd
Merge pull request #117 from EDCD/enhancement/from-scratch-docs
Document how to run EDDN from scratch
2021-06-14 13:01:26 +01:00
Athanasius
80a858fb26 monitor: Fix typo of schemasTodayYesterday with its 's' on 'schemas' 2021-06-14 12:47:54 +01:00
Athanasius
5dc0e345fa docs/Running-this-software: Call out contrib/systemd 2021-06-14 12:33:14 +01:00
Athanasius
61bf062e9c Add example systemd unit files, and supporting files. 2021-06-14 12:27:21 +01:00
Athanasius
c383d97fee docs: Basic instructions on putting existing LetsEncrypt cert files in place 2021-06-04 15:24:40 +01:00
Athanasius
adaa6822f0 docs: Add some information from the VPS Anthor has been using. 2021-06-04 14:22:14 +01:00
Athanasius
423a9a23ee
Merge pull request #121 from BANTYC/enhancement/es-6-node-example
Minor Node.js example enhancement
2021-05-26 10:11:15 +01:00
BANTYC
2d2a02265f * Added semicolons
* Added ES6 imports
* Added package-lock.json
* Added module definition at package.json
2021-05-25 23:51:39 +07:00
Athanasius
e47b3e4021 docs/Running: Correct and clarify the Apache Proxy examples. 2021-05-19 11:32:42 +01:00
Athanasius
c5070c7754 docs/Running: Be explicit about the mysql password use 2021-05-19 11:28:03 +01:00
Sileo35
57ea5e9158
Add CodexEntry event to map new discovered species
It wouldn't take a lot of bandwidth cause it is a rare event for a player.
But it will be a very interesting informations to make a good mapping of species around the galaxy.
2021-05-18 18:23:30 +02:00
Athanasius
ad236365f8 docs/running: Add dpkg output of the tested VM.
The debian-vm-dpkg_-l.txt is likely the most useful as it includes the
exact versions of the packages.  This might help resolve any "uh,
doesn't work on *my* system" conundrums.
2021-05-17 08:25:34 +01:00
Athanasius
5f12722c9f docs/running: Order steps more logically.
* Also adds some minimal Apache guidance for Reverse Proxy setup.
2021-05-16 20:59:03 +01:00
Athanasius
ae4f54b608 docs/running: Move DB init after DB install/setup
* Also we might as well make examples clearer by assuming
  `~/eddn/dev/EDDN/` for the git clone.
2021-05-16 20:47:34 +01:00
Athanasius
f195a53872 docs/running: Detail the ports each process uses and why. 2021-05-16 20:45:03 +01:00
Athanasius
7dce35d442 docs/running: expand/correct/improve iptables rules for VM testing 2021-05-16 20:30:53 +01:00
Athanasius
a64ca249d1 docs/running: Add section on needing to search/replace monitor files 2021-05-16 20:27:56 +01:00
Athanasius
66bb88abca docs/running: cp -r not cp -p 2021-05-16 19:31:10 +01:00
Athanasius
e12f6f1f70 docs/running: Init SQL schema & port 9091 also needs forwarding to VM 2021-05-16 18:09:57 +01:00
Athanasius
031981893c docs/running: Example settings override file & misc grammar 2021-05-16 17:35:30 +01:00
Athanasius
ae73b346fd docs: Add example of a settings override file 2021-05-16 17:29:37 +01:00
Athanasius
b4359286af docs/running: multiple schemas can be outdated 2021-05-16 17:26:09 +01:00
Athanasius
4e9cecaf1e docs/running: nginx serves the schema files 2021-05-16 17:25:20 +01:00
Athanasius
854e20501c docs/running: missing ' which ' 2021-05-16 17:23:49 +01:00
Athanasius
5c9f01be7a docs/running: formatting & correct RELAY_HTTP_BIND_ADDRESS/RELAY_HTTP_PORT 2021-05-16 17:19:59 +01:00
Athanasius
4229d59450 docs/running: Formatting fixups. 2021-05-16 17:12:52 +01:00
Athanasius
1e4eb9e0e1 docs/running: Be more explicit about using an override file for config 2021-05-16 16:51:32 +01:00