Changes between Version 4 and Version 5 of webreusHowTo


Ignore:
Timestamp:
08/01/06 10:15:06 (9 years ago)
Author:
django@…
Comment:

re-arranged the webreus.nl setup into steps

Legend:

Unmodified
Added
Removed
Modified
  • webreusHowTo

    v4 v5  
    3737Setting all this up has been done by following the various installation guides.
    3838
    39 == Webreus setup ==
     39== Webreus 5 steps setup ==
    4040
    41 When this was all working I signed up with webreus. Within 2 days I had a new domain and all the information I needed. They run [http://en.wikipedia.org/wiki/Plesk Plesk] and do not provide shell access. So setting up everything is a bit different than normally.
    42 
    43 Through Plesk databases can be setup, this involves following the Plesk manual. No rocket science at all, just some click work. In the end this gives you phpMyAdmin to configure (in my case) a mysql database. Make sure the database setup is the same as the 'home setup' (otherwise you'll just have to change the settings.py).
    44 
    45 Then I uploaded all my local files, through a ftp upload to the 'httpdocs' directory. Again no rocket science.
    46 
    47 Now the main trick comes: without shell access there is no way to setup the database according to the 'models.py'. The way I've solved this is to replicate my home mysql database to webreus. Just exporting the database tables with contents through phpMyAdmin and uploading them again at webreus.
    48 
    49 This was enough to get everything to work. I can now serve to !http://www.example.com/django and see my frontpage from Django.
     41 1. '''Have a working django setup at home (used for developing)'''[[BR]]
     42 I set up a system at home as described above. When this was all working I signed up with webreus. Within 2 days I had a new domain and all the information I needed. They run [http://en.wikipedia.org/wiki/Plesk Plesk] and do not provide shell access.
     43 1. '''Setup the databases on webreus'''[[BR]]
     44 Through Plesk databases can be setup, this involves following the Plesk manual. No rocket science at all, just some click work. In the end this gives you phpMyAdmin to configure (in my case) a mysql database. Make sure the database setup is the same as the 'home setup' (otherwise you'll just have to change the settings.py).
     45 1. '''Upload your files to webreus'''[[BR]] Then I uploaded all my local files, through a ftp upload to the 'httpdocs' directory. Again no rocket science.
     46 1. '''Import your development sql-export into the webreus database'''[[BR]]
     47 Now the main trick comes: without shell access there is no way to setup the database according to the 'models.py'. The way I've solved this is to replicate my home mysql database to webreus. Just exporting the database tables with contents through phpMyAdmin and uploading them again at webreus.
     48 1. '''Visit your website'''[[BR]] This was enough to get everything to work.
    5049
    5150If you have any questions, just let me know: find my contact details in the history of this page.
Back to Top