By oivanov
Hi Everyone,
can someone help me install Frepple (http://frepple.com/) on the cloud?
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!
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:
- 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:
- wget https://raw.githubusercontent.com/frepple/frepple/3.1/contrib/django/requirements.txt
- sudo pip3 install -r requirements.txt
Then, grab and install Frepple’s Debian package:
- wget http://downloads.sourceforge.net/project/frepple/frepple/3.2.beta/Linux%20Debian/frepple_3.2.beta-1_amd64.deb
- sudo dpkg -i frepple_*.deb
- sudo apt-get -f -y -q install
Now we’ll enable a number of Apache modules including Frepple’s configuration:
- sudo a2enmod expires
- sudo a2enmod wsgi
- sudo a2enmod ssl
- sudo a2ensite default-ssl
- sudo a2ensite frepple
- sudo service apache2 restart
Finally, we can create Frepple’s database schema by running:
- 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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.