<link href='http://booktype-dev.sourcefabric.org/static/core/css/bootstrap.css' rel='stylesheet' type='text/css' />
Is the URL you see valid, i.e. is the file in question accessible? If not, check the Apache configuration for static files.cd /var/www/booktype/instance1/ sudo su -s /bin/sh www-data ./manage.py runserver 0.0.0.0:8005and the server answers :
. ./booktype.env ./manage.py runserver 0.0.0.0:8005
pip show unipathIt should output something like:
Location: /usr/local/lib/python2.7/dist-packages
sudo pip install -r /usr/local/src/booktype/requirements/dev.txt sudo pip install -r /usr/local/src/booktype/requirements/prod.txtSee http://sourcefabric.booktype.pro/booktype-21-for-authors-and-publishers/manual-installation-on-gnulinux/
pip install -r requirements/prod.txtAll the depencies were downloaded and installed.
<div class="logotext"><a href="http:///">Booktype - Fédération nationale des Francas</a> </div>It will work soon !
THIS_BOOKTYPE_SERVER BOOKTYPE_URLCheers!
THIS_BOOKTYPE_SERVER = '' BOOKTYPE_URL = ''And I've replaced byTHIS_BOOKTYPE_SERVER = 'booktype-dev'
BOOKTYPE_URL = 'http://192.168.1.69'But I've now an error 500 on the page.
THIS_BOOKTYPE_SERVER = 'booktype.example.com' BOOKTYPE_URL = 'http://booktype.example.com'
static/core/css/The step of the installation which populates this directory is:
./manage.py collectstaticIf you view the source of your Booktype homepage, are the links to CSS files in the head element of the page valid?
192.168.1.69 booktype.mydomain.com booktype 127.0.1.1 booktype.mydomain.com booktype # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
# Apache configuration for Booktype server V1.0.6 <VirtualHost *:80> # Change the following three lines for your server ServerName booktype.mydomain.com SetEnv HTTP_HOST "booktype.mydomain.com" ServerAdmin root@localhost SetEnv LC_TIME "fr_FR.UTF-8" SetEnv LANG "fr_FR.UTF-8" WSGIScriptAlias / /var/www/booktype/instance1/instance1_site/wsgi.py # uncomment 'Require all granted' for Apache 2.4 without mod_access_compat <Location "/"> Require all granted Options FollowSymLinks </Location> Alias /static/ "/var/www/booktype/instance1/static/" <Directory "/var/www/booktype/instance1/static/"> Require all granted Options -Indexes </Directory> Alias /data/ "/var/www/booktype/instance1/data/" <Directory "/var/www/booktype/instance1/data/"> Require all granted Options -Indexes </Directory> ErrorLog ${APACHE_LOG_DIR}/booktype-instance1-error.log LogLevel debug CustomLog ${APACHE_LOG_DIR}/booktype-instance1-access.log combined </VirtualHost>
# WEB SITE URL THIS_BOOKTYPE_SERVER = 'booktype.mydomain.com' BOOKTYPE_URL = 'http://booktype.mydomain.com' # BOOKTYPE_URL = 'http://{}'.format(THIS_BOOKTYPE_SERVER)
michael@booktype-dev:~$ hostname booktype-dev michael@booktype-dev:~$ hostname -A booktype.mydomain.com michael@booktype-dev:~$ hostname -I 192.168.1.69 michael@booktype-dev:~$ sudo service apache2 restart sudo: impossible de déterminer le nom de l'hôte booktype-dev * Restarting web server apache2 AH00557: apache2: apr_sockaddr_info_get() failed for booktype-dev AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message [ OK ]
<!doctype html> <html lang="en" class="custom-scroll"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Booktype</title> <link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="http://booktype.mydomain.com/static/CACHE/css/191430f021b4.css" type="text/css" /> <script type="text/javascript" src="http://booktype.mydomain.com/static/CACHE/js/2d386e957f90.js"></script> <script type="text/javascript" src="http://booktype.mydomain.com/static/CACHE/js/22f995ced817.js"></script> </head> <body>
Daniel James said:Hi Michael, a happy new year to you too, I'm glad you got Booktype running :-)
If you would like to add or correct any French strings in the interface, you might like to join our translation team at https://www.transifex.com/sourcefabric/teams/7233/fr/
Cheers!
Daniel
It looks like you're new here. If you want to get involved, click one of these buttons!