Help Installing Frepple on the cloud

Hi Everyone,

can someone help me install Frepple ( on the cloud?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Frepple provides Debian packages suitable for use with Ubuntu or Debian. It comes with an Apache configuration file making it easy to get up and running quickly. Apache, Python 3, and PostgreSQL are required dependencies. Their documentation provides a full installation tutorial, so I’ll only provide a quick run down here based on Ubuntu 14.04.

First, we’ll install and configure PostgreSQL:

sudo apt-get install postgresql 
sudo -u postgres psql template1 -c "create user frepple with password 'frepple'"
sudo -u postgres psql template1 -c "create database frepple encoding 'utf-8' owner frepple"
sudo -u postgres psql template1 -c "create database scenario1 encoding 'utf-8' owner frepple"
sudo -u postgres psql template1 -c "create database scenario2 encoding 'utf-8' owner frepple"
sudo -u postgres psql template1 -c "create database scenario3 encoding 'utf-8' owner frepple"
sudo sed -i 's/local\(\s*\)all\(\s*\)all\(\s*\)peer/local\1all\2all\3\md5/g' /etc/postgresql/9.*/main/pg_hba.conf
sudo service postgresql restart

Next, we’ll install a number of other dependencies:

  1. sudo apt-get install python3 python3-pip libxerces-c3.1 adduser apache2 libapache2-mod-wsgi-py3 python3-psycopg2

Now, with Python 3 installed, we will download the project’s requirements.txt file from GitHub in order to install the additional Python dependencies using pip:

  1. wget
  2. sudo pip3 install -r requirements.txt

Then, grab and install Frepple’s Debian package:

  1. wget
  2. sudo dpkg -i frepple_*.deb
  3. sudo apt-get -f -y -q install

Now we’ll enable a number of Apache modules including Frepple’s configuration:

  1. sudo a2enmod expires
  2. sudo a2enmod wsgi
  3. sudo a2enmod ssl
  4. sudo a2ensite default-ssl
  5. sudo a2ensite frepple
  6. sudo service apache2 restart

Finally, we can create Frepple’s database schema by running:

  1. frepplectl migrate --noinput

You can now access your Frepple instance by visiting the IP address of your server. The default account is admin for both the username and the password. This should be updated the first time you log in.