-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.sh
47 lines (35 loc) · 1.62 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/sh
#
#
# _________ _...._ .----. .----. __.....__
# \ |.' '-. \ \ / /.-'' '.
# \ .'```'. '. ' '. /' // .-''"'-. `.
# \ | \ \ __ | |' // /________\ \
# | | | |.:--.'. | || || |
# | \ / ./ | \ |'. `' .'\ .-------------'
# | |\`'-.-' .' `" __ | | \ / \ '-.____...---.
# | | '-....-'` .'.''| | \ / `. .'
# .' '. / / | |_ '----' `''-...... -'
# '-----------' \ \._,\ '/
# `--' `"
#
#
# This is the installation script for Pave.
# See the source: https://github.com/mm53bar/pave/
#
# Install Pave by running this command:
# curl https://raw.github.com/mm53bar/pave/master/install.sh | sh
# Set up the environment
set -e
# Create the bin folder if it doesn't already exist
mkdir -p bin
# Download the pave script
curl -s -L https://raw.github.com/mm53bar/pave/master/bin/pave -o bin/pave
# Downoad support files
curl -s -L https://raw.github.com/mm53bar/pave/master/.env.sample >> .env.sample
# Set the permissions for the scripts
chmod +x bin/pave
# All done
echo 'Installed!'
echo
echo 'Be sure to update .env.sample. Then copy it to .env.production'