Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

theirc/web.refugee.info

Repository files navigation

Installing

Dependencies

  • Python 3.5
  • pip

Installing dependencies

sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install ruby
sudo gem install sass
sudo apt-get install python3.5 python3.5-dev
sudo apt-get install python3-pip

Setting up a virtualenv

Virtualenv is not required (but it's better to use it)
sudo pip3 install virtualenv
mkdir ~/.virtualenvs/
virtualenv ~/.virtualenvs/web.refugee.info -p <path>/python3.5

Configuring App

source ~/.virtualenvs/web.refugee.info/bin/activate      # if you installed
pip install -r requirements.txt
cp root/localsettings.example.py root/localsettings.py

Setting up your django environment

./manage.py runserver

Code style

source ~/.virtualenvs/web.refugee.info/bin/activate      # if you installed
pip install flake8
git diff origin/master | flake8 --diff

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published