README: Improve installation instructions for Ubuntu

As discussed in #12
This commit is contained in:
Tom Hacohen 2019-03-15 08:39:14 +00:00 committed by GitHub
parent b9de109998
commit e8022a0986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,12 @@ A skeleton app for running your own [EteSync](https://www.etesync.com) server
# Installation # Installation
To setup your own EteSync server based on the git version just clone this Before installing the EteSync server make sure you install `virtualenv` (for **Python 3**):
git repository and set up the django app:
* Arch Linux: `pacman -S python-virtualenv`
* Debian/Ubuntu: `apt-get install python3-virtualenv`
Then just clone the git repo and set up this app:
``` ```
git clone https://github.com/etesync/server-skeleton.git git clone https://github.com/etesync/server-skeleton.git
@ -16,8 +20,8 @@ git clone https://github.com/etesync/server-skeleton.git
cd server-skeleton cd server-skeleton
# Set up the environment and deps # Set up the environment and deps
virtualenv3 .venv virtualenv -p python3 venv # If doesn't work, try: virtualenv3 venv
source .venv/bin/activate source venv/bin/activate
pip install -r requirements.txt pip install -r requirements.txt
``` ```