Richard Brinkman
755752f048
Fix HTML of bootstrap
2020-10-19 11:56:56 +02:00
GeorgianaElena
1ce172ae3e
Added more comments
2020-08-17 19:04:25 +03:00
GeorgianaElena
cef898fd31
Rename flags and work with sys.argv copy
2020-08-17 16:54:16 +03:00
GeorgianaElena
43c38bc09d
Embed HTML file in bootstrap script
2020-08-17 15:36:02 +03:00
GeorgianaElena
d1bee23a7d
Pass the pid to the installer as a cmd arg
2020-08-11 16:01:44 +03:00
GeorgianaElena
fcb5257901
Put the temp page under a flag
2020-08-11 14:09:11 +03:00
GeorgianaElena
69a6f89518
Only serve explicit routes
2020-08-11 12:23:50 +03:00
GeorgianaElena
56f9db5130
Refresh the main page every 30s
2020-08-03 18:44:58 +03:00
GeorgianaElena
3aa8255110
Center divs
2020-08-03 18:44:58 +03:00
GeorgianaElena
972b15b95a
Serve a temporary html page while tljh is building
2020-08-03 14:55:22 +03:00
GeorgianaElena
d00245e3bf
Upgrade pip
2020-04-23 13:14:32 +03:00
yuvipanda
8ec3fab3f3
Make installer.log non-readable by non-root users
...
Doesn't have any sensitive info right now but might
in the future.
Fixes #142
2019-05-29 11:27:53 -07:00
yuvipanda
f5ecce77a1
Add unit tests for run_subprocess
2019-05-29 11:27:53 -07:00
yuvipanda
7071332445
Provide much better error messages
...
- When processes fail, they actually print a failure message
on the user's terminal
- Regardless of success or failure, we print all output to
/opt/tljh/installer.log
This should make debugging people's issues *much* easier, since
we can actually see the output of failing commands rather than
having to guess.
2019-05-29 11:27:53 -07:00
Yuvi Panda
5a3ca1fd8c
Merge pull request #242 from owah/master
...
Adds the universe repository to the used sources
2019-05-28 13:15:42 -07:00
yuvipanda
1cb6717fea
Say 'running inside a docker container', not 'plain docker'
...
'Plain docker' makes no sense
2019-05-20 09:52:50 -07:00
yuvipanda
9f2a04ac49
Add more validation to bootstrap.py
...
- Check for Python Version
- Check if systemd is present
- Provide more useful error message when running inside
an unprepared docker container
Ref #16
2019-05-19 22:46:16 -07:00
yuvipanda
a8b28744a6
bootstrap: Explicitly mark python3-pip as installed
...
We need it to work, so we mark it as an explicit
dependency.
2019-05-19 20:39:27 -07:00
yuvipanda
948548b033
bootstrap: Install software-properties-common
...
Gets us add-apt-repository, which helps ensure the
universe repository is enabled.
2019-05-19 20:38:30 -07:00
owah
395cb93290
Adds the universe repository to the used sources
...
This change is required, to support Ubuntu Server 18.04.01, which by default doesn't ship with universe. Universe contains python3-venv which is needed for tljh
2019-05-19 20:38:30 -07:00
yuvipanda
d7672bf907
Install git explicitly during bootstrap
...
Some servers don't have git on by default
2019-01-09 15:56:28 -08:00
yuvipanda
599c9d37dd
Get '.strip()' right
2018-11-13 14:46:16 -08:00
yuvipanda
ca38dcd413
Decode output from subprocess before performing string operations
2018-11-13 14:40:24 -08:00
yuvipanda
43d9f02203
Fix putting literal {}s in python format string
2018-11-13 14:28:59 -08:00
yuvipanda
e9462bb7ae
Do not use deprecated platform module
...
Since bootstrap.py needs to restrict itself to
stdlib python, we read from /etc/os-release than trying
to install the distro package.
2018-11-13 12:47:05 -08:00
yuvipanda
5374f5eaf5
Provide better error message when running on unsupported distro
2018-11-13 12:35:41 -08:00
yuvipanda
94354b8e64
Add documentation to logging on where to find installer logs
...
Also send bootstrap & installer logs to same file.
2018-07-29 12:53:04 -07:00
yuvipanda
414d3932ac
Log bootstrap / installer messages to file as well
...
This enables debugging when a server does not come up as
expected.
Fixes #22
2018-07-29 02:17:12 -07:00
Yuvi Panda
eeffc6e197
Merge pull request #64 from jupyterhub/hub-venv
...
Use venv for base hub environment
2018-07-23 14:41:15 -07:00
yuvipanda
5064979a57
Replace pointers to yuvipanda/ on github with jupyterhub/
2018-07-20 16:17:33 -07:00
yuvipanda
e609a840c7
Install gpg2 if required when adding apt keys
...
Not installed by default in many docker containers
2018-07-19 18:38:58 -07:00
yuvipanda
fc0ecb6699
Use venv for base hub environment
...
- TLJH should support raspberry pi, which runs ARM. conda does
not support ARM.
- Get nodejs from nodesource instead of conda or default repositories.
Default repositories get out of date pretty quickly.
- Install CHP from npm
2018-07-19 18:01:30 -07:00
Yuvi Panda
9196d75200
Merge pull request #58 from minrk/fix-conda-check
...
bootstrap: allow conda to be upgraded
2018-07-19 10:33:43 -07:00
Min RK
bcf31a979c
fix permissions on initial install
...
running installer as root allows some file ownership from the archive to be set as a user other than root
2018-07-19 01:30:04 -07:00
Min RK
ab5dd0e0d8
bootstrap: allow conda to be upgraded
...
use >= instead of == to check installed version
2018-07-18 23:07:06 -07:00
Min RK
03d0884bec
remove —no-cache-dir arg
...
caches are good! disabling cache should ~only be used when building docker images
2018-07-13 15:11:39 -05:00
yuvipanda
56e573bd86
Make TLJH_BOOTSTRAP_DEV take effect for reals
2018-07-12 16:55:51 -07:00
yuvipanda
154cc00a31
Add --admin params to bootstrap / installer to set up admin accts
...
This removes a big step requiring file changes from the quickstart
path. You can specify the admin username on the commandline.
2018-07-03 16:18:32 -07:00
yuvipanda
3ee26118ae
Fix incomplete refactor of miniconda version specification
2018-07-02 16:03:16 -07:00
yuvipanda
f3cfd36d52
Cleanup bootstrap + add docstrings
2018-07-02 15:57:38 -07:00
yuvipanda
715860707b
Rewrite bootstrapper in Python
...
- This was going to get too complex for bash. Only way to
kill those scripts is before they get too complex.
- Better progress messages from bootstrapper.
- Differentiate between bootstrapper & installer
- Cleanup documentation a little bit
2018-07-02 15:12:26 -07:00