Skip to content

Getting Started

jaredbriskman edited this page May 5, 2018 · 5 revisions

The goal of this page is to provide a more in-depth introduction to getting started developing for ABE than the README.

Tools

pipenv is used for package management. You can install it with pip:

pip install pipenv

pyenv is recommended for python version management. You can install it with the pyenv-installer.

Troubleshooting

MongoDB

Make sure that your local MongoDB instance is running. On Ubuntu 16.01 this is done through the mongod service. Running service mongod status will show you the current status of the service.

If the output looks something like

● mongod.service - High-performance, schema-free document-oriented database
   Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: 
   Active: inactive (dead)
     Docs: https://docs.mongodb.org/manual

your MongoDB instance is not running.

To start your local MongoDB instance, run sudo service mongod start. You'll need to do this every time you reboot your computer. If you'd like MongoDB to start automatically you can do so with sudo service mongod enable.

pyenv is having trouble building python versions

Make sure you have the relevant dependencies installed. For Ubuntu/Debian these are

sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev
Clone this wiki locally