Hi Sameer,
You'll need to run the following 2 commands from a command window:

 createdb -U postgres -E UTF8 -T template0 template_postgis_20
 psql -U postgres -d template_postgis_20 -c "CREATE EXTENSION postgis;"

The first command creates the "template_postgis_20" database template
referenced in the error in your previous message.
The second command spatially enables the template database.

After that you should be able to run:
install_arches_db.bat
and then
install_packages.bat (assuming you downloaded the "CDS" package and
followed the install instructions)

You should now have a working version of Arches on your system.

If you need to start and stop django's inbuilt web server, be sure to close
both windows that popped up when you ran runserver.bat, then run
runserver.bat again.

Cheers,
Alexei


Director of Web Development - Farallon Geographics, Inc. - 971.227.3173


On Mon, Mar 24, 2014 at 9:20 PM, Sameer Paya <[email protected]> wrote:

> That worked perfect. no errors. Thank you very much
>
> Last question: 1 more step and I can start using Arches on a server. When
> I build arches I run "install_arches_db.bat", It ask for the password (the
> default for some reason did not work, but I changed it in the setting.py
> and the new one worked)
> Here is the error it gave me. It said "procid" does not exist then goes
> and says "arches" does not exist.
>
> Besides that I can go to the localhost:8000/Arches/index.htm and it says
> "initializing". Does not go anywhere else from there, but at least the
> server setup works.
> I do not believe I missed a step, but Please let me know if I missed
> something that builds "arches" or "procid"
>
> Thank you again for all your help.
>
> ---------------------------------------------------------------------------
> C:\arches-web\archesproject\build>cd C:\arches-web\archesproject\build\..
>
> C:\arches-web\archesproject>call "virtualenv/ENV/Scripts/activate.bat"
> operation: install
> current file is: C:\arches-web\archesproject\db\Deployment
> Scripts\DatabaseClean
> up.py
> current file is: C:\arches-web\archesproject\db\Deployment
> Scripts\Restore.py
> current file is: C:\arches-web\archesproject\db\Deployment
> Scripts\__init__.py
> Password for user postgres:
> psql:C:/arches-web/archesproject/db/Deployment
> Scripts/DatabaseCleanup.sql:1: ER
> ROR:  column "procpid" does not exist
> LINE 1: SELECT pg_terminate_backend(procpid) from pg_stat_activity w...
>                                     ^
>  pg_terminate_backend
> ----------------------
> (0 rows)
>
>
> psql:C:/arches-web/archesproject/db/Deployment
> Scripts/DatabaseCleanup.sql:4: ER
> ROR:  database "arches" does not exist
> psql:C:/arches-web/archesproject/db/Deployment
> Scripts/DatabaseCleanup.sql:10: E
> RROR:  template database "template_postgis_20" does not exist
> Password for user postgres:
> psql: FATAL:  database "arches" does not exist
>
> Press any key to continue . . .
>
> ---------------------------------------------------------------------------------------
>
> --
> -- To post, send email to [email protected]. To unsubscribe,
> send email to [email protected]. 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to