- Update your packages index:
$ sudo apt update
- Install git:
$ sudo apt install git
- Install git-lfs:
$ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
$ sudo apt install git-lfs
$ git lfs install
-
Get sources:
- Set up ssh key according to github instructions
- Clone project locally:
$ git clone [email protected]:VisionsGlobalEmpowerment/webchange.git
-
Install npm:
$ sudo apt install nodejs
- Install ffmpeg for audio files convert:
$ sudo apt install ffmpeg
-
Install Rhubarb Lip Sync for audio phonetic recognition
-
Download the latest release and unzip the file anywhere on your computer.
-
Edit
~/.profile
in your home directory and add the following line:if [ -d "$HOME/path/to/rhubarb" ] ; then PATH="$PATH:$HOME/path/to/rhubarb" fi
-
-
Install Karma
$ sudo npm install -g karma-cli
- Install Sass
$ sudo apt install ruby-sass
- Install npm packages:
$ npm install
- Install PostgreSQL:
$ sudo apt install postgresql postgresql-contrib
- Initialize database:
$ sudo -u postgres -i
postgres@user$ createuser --interactive -P // create user 'webchange'
createdb --owner=webchange webchange
createuser --interactive -P // create user with the same name as your Unix user
exit
$ psql webchange < dump.sql
$ psql -d webchange --command='CREATE EXTENSION IF NOT EXISTS "uuid-ossp";'
- Install Java:
$ sudo apt install openjdk-8-jdk
See Troubleshooting - Java 8 install error in case of problems with Java 8 installation.
- Install Clojure:
$ curl -O https://download.clojure.org/install/linux-install-1.10.0.442.sh
$ chmod +x linux-install-1.10.0.442.sh
$ sudo ./linux-install-1.10.0.442.sh
- Install Leiningen
$ sudo apt install leiningen