mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
Add instructions to download the "latest" binaries
This commit is contained in:
parent
a988b28cfe
commit
b1d748b119
@ -2,7 +2,6 @@
|
|||||||
# Provision an AWS cloud instance with tutor.
|
# Provision an AWS cloud instance with tutor.
|
||||||
# Run with: curl -sSL https://raw.githubusercontent.com/regisb/tutor/master/cloud/ubuntu.sh | sudo bash -e
|
# Run with: curl -sSL https://raw.githubusercontent.com/regisb/tutor/master/cloud/ubuntu.sh | sudo bash -e
|
||||||
|
|
||||||
export TUTOR_VERSION="v3.0.5"
|
|
||||||
export TUTOR_USER="$SUDO_USER"
|
export TUTOR_USER="$SUDO_USER"
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
@ -33,7 +32,7 @@ curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compo
|
|||||||
chmod +x /usr/local/bin/docker-compose
|
chmod +x /usr/local/bin/docker-compose
|
||||||
|
|
||||||
echo "=============== Installing tutor"
|
echo "=============== Installing tutor"
|
||||||
curl -L "https://github.com/regisb/tutor/releases/download/$TUTOR_VERSION/tutor-linux" -o /usr/local/bin/tutor
|
curl -L "https://github.com/regisb/tutor/releases/download/latest/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
|
||||||
chmod +x /usr/local/bin/tutor
|
chmod +x /usr/local/bin/tutor
|
||||||
|
|
||||||
echo "=============== Configuring supervisor"
|
echo "=============== Configuring supervisor"
|
||||||
|
@ -3,7 +3,11 @@
|
|||||||
Quickstart
|
Quickstart
|
||||||
==========
|
==========
|
||||||
|
|
||||||
1. `Download <https://github.com/regisb/tutor/releases>`_ the latest stable release of Tutor, uncompress the file and place the ``tutor`` executable in your path.
|
1. `Download <https://github.com/regisb/tutor/releases>`_ the latest stable release of Tutor, uncompress the file and place the ``tutor`` executable in your path. From the command line::
|
||||||
|
|
||||||
|
sudo curl -L "https://github.com/regisb/tutor/releases/download/latest/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
|
||||||
|
sudo chmod +x /usr/local/bin/tutor
|
||||||
|
|
||||||
2. Run ``tutor local quickstart``
|
2. Run ``tutor local quickstart``
|
||||||
3. You're done!
|
3. You're done!
|
||||||
|
|
||||||
|
@ -40,7 +40,6 @@ Releasing a new version
|
|||||||
|
|
||||||
- Bump the ``__version__`` value in ``tutor/__about__.py``.
|
- Bump the ``__version__`` value in ``tutor/__about__.py``.
|
||||||
- Replace "Latest" by the version name in CHANGELOG.md.
|
- Replace "Latest" by the version name in CHANGELOG.md.
|
||||||
- Upgrade the tutor version for the cloud.
|
|
||||||
- Create a commit with the version changelog.
|
- Create a commit with the version changelog.
|
||||||
- ``git push``
|
- ``git push``
|
||||||
- ``make tag TAG=vxxx``
|
- ``make tag TAG=vxxx``
|
||||||
|
Loading…
Reference in New Issue
Block a user