Thanks Alexei, the update script works fine.

Vincent

On Friday, 28 July 2017 15:56:44 UTC-4, Alexei Peters wrote:
>
> Hello Everyone,
> If you happened to install Arches v4.0b3 and created a project using the 
> "arches-project create" command and want to keep that project then the 
> following instructions are for you!
>
> The first thing to do is download the attached python script file 
> (update_project.py).
>
> The script file takes the path of the project root as the only positional 
> argument. Example:
>
> *python update_project.py 
> ~/Documents/projects/GCI/arches_v4/myproject/myproject*
>
>
> Running this script will do the following:
>
>    1. Add an empty arches.log file in root.
>    2. Create a directory called logs in root if it doesn't exist and add 
>    an empty file called 'resource_import.log'.
>    3. Create a file in root called 'proposed_settings.py' which is a copy 
>    of the project's original settings.py file plus the new v4 settings.
>    4. Download the bower.json file to root and name it 
>    'proposed_bower.json'
>    
> Once you run this file you just need to:
>
>    1. Review 'proposed_settings.py' and either rename it 'settings.py' or 
>    copy its contents to 'settings.py'.
>    2. Rename 'proposed_bower.json' to 'bower.json' or copy its contents 
>    to 'bower.json'.
>
> Finally, *MAKE A BACKUP OF YOUR DATABASE**,* then cd into the root of the 
> project and then run the following commands from an activated virtual 
> environment:
>
>    1. pip install arches --upgrade
>    2. python manage.py migrate
>    3. bower install (from the directory where the bower.json file exists)
>    4. bower prune
>    
> Go into your /templates directory and remove the following files, unless 
> you've modified them, in which case you'll need to get new copies of those 
> files from here (
> https://github.com/archesproject/arches/tree/4.0.0/arches/app/templates) 
> and apply your modifications to those new files:
>
>    1. base-manager.htm
>    2. login.htm
>
> Now start Arches.
>
>    1. open a browser (Google chrome)
>    2. login to Arches as 'admin'
>    3. navigate to /settings
>    4. update your Mapbox API Key (Go to Map Settings –> Mapbox API) (the 
>    old location for the key is in settings.py)
>    
>
> For further settings help go here: 
> http://arches4.readthedocs.io/en/latest/initial-configuration/
> That's it!  Arches v4 should be running properly!
> If you have any further questions please post them to the forum and we'll 
> try to answer them as soon as we can.
>
> Cheers,
> The Arches Team
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to