Cleanup
This commit is contained in:
parent
2dc8bc198d
commit
4e02a8f4bc
3
.gitignore
vendored
3
.gitignore
vendored
@ -43,8 +43,5 @@ debug
|
||||
# Database
|
||||
/db
|
||||
|
||||
# Certificates
|
||||
/security
|
||||
|
||||
# Log files
|
||||
*.log
|
@ -5,9 +5,9 @@
|
||||
"Ubuntu"
|
||||
],
|
||||
"styles": [
|
||||
"libs/reset",
|
||||
"include/config",
|
||||
"include/mixins",
|
||||
"reset",
|
||||
"base",
|
||||
"typography",
|
||||
"layout",
|
||||
|
2
security/.gitignore
vendored
Normal file
2
security/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
@ -7,4 +7,3 @@
|
||||
|
||||
.raw-icon
|
||||
fill currentColor
|
||||
//
|
@ -1,42 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
UBUNTU_VERSION="16.04"
|
||||
GO_VERSION="1.8.3"
|
||||
AS_VERSION="3.13.0.1"
|
||||
|
||||
GO_FILE="go$GO_VERSION.linux-amd64.tar.gz"
|
||||
AS_FILE="aerospike-server-community-$AS_VERSION-ubuntu$UBUNTU_VERSION.tgz"
|
||||
AS_DIR="aerospike-server-community-$AS_VERSION-ubuntu$UBUNTU_VERSION"
|
||||
|
||||
if [ ! -d /usr/local/go ]; then
|
||||
if [ ! -f "./$GO_FILE" ]; then
|
||||
echo "Downloading Go..."
|
||||
wget https://storage.googleapis.com/golang/$GOFILE
|
||||
fi
|
||||
|
||||
echo "Extracting Go..."
|
||||
sudo tar -C /usr/local -xzf $GO_FILE
|
||||
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
echo "Don't forget to add the following to your terminal startup scripts:"
|
||||
echo "export PATH=\$PATH:/usr/local/go/bin\n"
|
||||
fi
|
||||
|
||||
if [ ! -f /usr/bin/asd ]; then
|
||||
if [ ! -f ./$AS_FILE ]; then
|
||||
echo "Downloading Aerospike..."
|
||||
wget http://artifacts.aerospike.com/aerospike-server-community/$AS_VERSION/$AS_FILE
|
||||
fi
|
||||
|
||||
if [ ! -d ./$AS_DIR ]; then
|
||||
echo "Extracting Aerospike..."
|
||||
tar xzf $AS_FILE
|
||||
fi
|
||||
|
||||
echo "Installing Aerospike..."
|
||||
cd $AS_DIR
|
||||
sudo ./asinstall
|
||||
cd ..
|
||||
fi
|
||||
|
||||
echo "Finished installing notify.moe dependencies."
|
Loading…
Reference in New Issue
Block a user