Le repo des sources pour le site web des JM2L
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tr4ck3ur des JM2L b7e2ea559e Latest fix on thumbnail generation 6 달 전
jm2l Latest fix on thumbnail generation 6 달 전
.gitignore Fix gitignore to get resource path clean 6 년 전
CHANGES.txt first drop 6 년 전
MANIFEST.in first drop 6 년 전
README.txt Fixing python3 issues 8 달 전
development.ini Fixing python3 issues 8 달 전
production.ini Added mail handling 6 년 전
setup.py Fixing python3 issues 8 달 전
wsgi.py wsgi for python3 6 달 전



Getting Started

Let's install JM2L event website :

Install dependency (Debian):

apt-get install build-essential virtualenv git python-dev libxslt1-dev libxml2-dev zlib1g-dev

sudo apt-get install libjpeg62 libjpeg62-turbo-dev libpng12-dev zlib1g zlib1g-dev freetype2

First we create a virtualenv

virtualenv --no-site-packages jm2l_venv

source jm2l_venv/bin/activate

git clone http://git.style-python.fr/jm2l/

cd jm2l

python setup.py develop

initialize_JM2L_db development.ini

pserve development.ini

If no error occurs, the webserver should be available on http://localhost:8080/

source jm2l_venv/bin/activate
cd jm2l
pserve development.ini

Enjoy !

sudo apt install virtualenv git python3-virtualenv imagemagick

sudo mkdir -p /srv/jm2l
cd /srv/jm2l/
cd /srv
sudo chown luna jm2l
cd jm2l/
virtualenv -p python3 .venv_jm2l