Attention ! Gitlab fournissant maintenant nativement des certificats Let’s Encrypt aux domaines personnalisés des Gitlab Pages, nous avons coupé notre service qui le faisait automatiquement pour vous.

Il est impératif, pour que votre domaine personnalisé continue à avoir un certificat Let’s Encrypt à jour, d’activer la fonctionnalité native dans les paramètres de votre projet. Cette activation remplacera votre certificat actuel par un nouveau certificat Let’s Encrypt géré par Gitlab.

Voir les détails sur https://docs.framasoft.org/fr/gitlab/gitlab-pages-le.html

Commit a28a6799 authored by Killian Kemps's avatar Killian Kemps

Reformat installation README and script

parent 58ea2aaf
### How to install Qowala
# How to install Qowala
#### Qowala configuration
## Qowala configuration
- Copy and rename **config/template_twitter.json** to **config/twitter.json** and put in your Twitter credentials (you can get the credentials on *Twitter Developer Website* at http://apps.twitter.com after creating your own app).
- Give your application Read & Write permissions on Twitter Application Management Dashboard
......@@ -9,35 +9,35 @@
- For the callback URL in **config/twitter.json** you have to put the domain name where the app will be hosted and add to it '/auth/twitter/callback'.
#### Qowala easy installation
## Qowala easy installation
Just launch the **Qowala-live_InstallationScript.sh**, it will do automatically what is below
Just launch the **Qowala_InstallationScript.sh**, it will do automatically what is below
#### Qowala manual installation
## Qowala manual installation
##### Ubuntu 14.04 process:
### Ubuntu 14.04 process:
###### Install NodeJS
#### Install NodeJS
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs
sudo apt-get install build-essential
###### Install MongoDB
#### Install MongoDB
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
sudo apt-get install -y mongodb-org
###### Install the dependencies
#### Install the dependencies
npm install
*NodeJS installation process inspired by Digital Ocean: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server*
*MongoDB installation process inspired by MongoDB.org http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/*
#### Qowala Simple Run
## Qowala Simple Run
nodejs server.js
#### Qowala Production mode
## Qowala Production mode
sudo npm install -g forever
forever -l forever.log -ao stdout.log -e stderr.log start server.js
......@@ -23,10 +23,10 @@
# THE SOFTWARE.
###############################
#
#
# This script was meant to be used with Ubuntu 14.04 Trusty
# This script will install what is required for Qowala live then install the Twitter app
#
#
# The components installation process was being inspired by Digital Ocean tutorial accessible at : https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server
#
################################
......@@ -35,10 +35,10 @@
ipadress=$(ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//' | head -n 1)
echo "*******************************************************************************"
echo "*** Qowala live Installation Script ***"
echo "*** Qowala Installation Script ***"
echo "*******************************************************************************"
echo "This script will try to install MongoDB, NodeJS and its modules."
echo "It will then download and install Qowala live so you will be able to access it at (you will set the domain name during the installation) :
echo "It will then download and install Qowala so you will be able to access it at (you will set the domain name during the installation) :
"
......@@ -70,7 +70,7 @@ if [ $ifInstall = "Y" ] || [ $ifInstall = 'y' ]
sudo npm install -g forever
echo "*******************************************************************************"
echo "*** Qowala live Installation Script ***"
echo "*** Qowala Installation Script ***"
echo "*******************************************************************************"
echo "We will now configure your Twitter app.
"
......@@ -90,13 +90,13 @@ if [ $ifInstall = "Y" ] || [ $ifInstall = 'y' ]
sudo echo '{"consumerKey" : "'$consumerKey'",'' "consumerSecret" : "'$consumerSecret'", "callbackURL": "http://'$domainName':8080/auth/twitter/callback"}' >> config/twitter.json
# Launch the application
sudo forever -l forever.log -ao stdout.log -e stderr.log start app.js
sudo forever -l forever.log -ao stdout.log -e stderr.log start app.js
# Display end message
message='Your Qowala live installation is ready to be used at : http://'
message='Your Qowala installation is ready to be used at : http://'
echo "*******************************************************************************"
echo "*** Qowala live Installation Script ***"
echo "*** Qowala Installation Script ***"
echo "*******************************************************************************"
echo ""
echo $message$domainName'/:8080'
......@@ -104,4 +104,4 @@ if [ $ifInstall = "Y" ] || [ $ifInstall = 'y' ]
else
echo "Okay, good bye !"
fi
\ No newline at end of file
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment