Set up an existing Django app on another server -


It should, should be a duplicate, but I can not get answers here or On Google

I have an existing app and I would like to keep it on another server.

The steps I need to move somewhere else? I word of one word?

At least, possibly:

  • Create a project on the new server
  • Copy all of my app's files to it < Li> Edit localalsettings.py or sync with local database settings, etc.
  • Run python manage.py syncdb to create my database
  • Load fixtures
  • Run the test

    Is this? Are there any unofficial or official instructions to copy the app elsewhere?

    Thank you.

    The most basic, easy way to do this:

    1. Set up the server environment so that it matches the current environment as best as possible. The most important thing is that you are using the same version of the DEGENGO (obviously). You can run a different database, but it portings from the old server to the new server which contains a little more.
    2. Copy your code
    3. Otherwise, you have to adjust your settings to match the new server, if they can not be repeated (i.e., username, etc.) ).
    4. Dump your old database structure and data into a new database

      Running initial provider is not strictly required. To run the degego with the appropriate settings.py file, your web server needs to be configured correctly - and Zago takes it from there.

Comments