Hello, Vincent

I'd like to share my work regarding this subject. I hope you can improve 
with my Docker file: http://goo.gl/pcsXug
My Arches docker image is called oixhwotl/arches3-v1:15.10
(15.10 is a tag and it means it was built based on Ubuntu 15.10)
(v1 means that everything is in one container. I planned that v2 contains 
minimal files and works with other containers such as ElasticSearch, 
PostgreSQL and nginx.)

HOW TO USE IT

1. Install docker application

2. Download the image
$ docker pull oixhwotl/arches3-v1:15.10

3.  Copy out my_Hip_app to local storage if you don't have your own app
$ docker run -it oixhwotl/arches3-v1:15.10
# exit
$ docker ps -a
(get the image contianer id)
$ docker cp <container id>:/roiot/my_hip_app <local storage path>

4. Run server mounting your app
$ docker run -it -p 8000:8000 -v <local storage path>:/root/my_hip_app 
--name arches oixhwotl/arches3-v1:15.10
# source .profile
# start_services.sh
(this will start PostgreSQL and ElasticSearch)
# cd my_hip_app
# python manage.py packages -o install
# python manage.py runserver 0.0.0.0:8000

Before shutting exiting the app, save your data by following the 
instructions in this post: 
https://groups.google.com/forum/#!searchin/archesproject/script%7Csort:relevance/archesproject/sXu6qpMuoAs/qDKQlQstIwAJ

The data directory of PostgreSQL is also exportable, and you can create 
persistent data container for it. 
https://docs.docker.com/engine/tutorials/dockervolumes/

Good lock Vincent.

 





On Monday, August 8, 2016 at 11:30:31 PM UTC+5:45, Vincent Meijer wrote:
>
> Yes, we at USF's CVAST are in a far stadium of dockerizing Arches. After 
> we get everything ready and stable, I will share. Stay tuned!
>
> On Friday, 29 July 2016 01:25:03 UTC-4, Joel Aldor wrote:
>>
>> Has anyone continued the dockerization of Arches 3?
>>
>> On Sunday, January 11, 2015 at 3:30:01 PM UTC+8, Rita Sinha wrote:
>>>
>>> Hi Alex, 
>>>
>>>            Thanks for the much needed start for dockerizing the arches 
>>> project. I have gone through your work and prefer starting  from where 
>>> you left. 
>>>
>>> I am too having some issues with dedicating a lot of time  on this 
>>> project presently but plan to actively work on it in summers and 
>>> just wanted to familiarize with the Arches developer community and the 
>>> project as a whole. 
>>>
>>> Regards, 
>>> Rita sinha 
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Jan 9, 2015 at 1:02 PM, Alex Proca <[email protected]> wrote: 
>>> > Hello, 
>>> > 
>>> > I started dockerizing the arches project but abandoned project due to 
>>> lack 
>>> > of time. If you want to continue from where I left or if you want a 
>>> starting 
>>> > point have a look at https://bitbucket.org/alexproca/arches 
>>> > 
>>> > 
>>> > On Thursday, January 8, 2015 at 3:53:40 PM UTC+2, Rita Sinha wrote: 
>>> >> 
>>> >> Hi, 
>>> >> 
>>> >>  I have been recently lurking around open source projects when I came 
>>> >> across  The Arches Project and developed keen interest in 
>>> contributing to 
>>> >> the org. 
>>> >> 
>>> >> After going through the project, I'm eager to improve the existing 
>>> >> installation of Arches. 
>>> >> 
>>> >> After going through the current installation guide, I would like to 
>>> >> suggest using Docker to deploy Arches. 
>>> >> 
>>> >> For those not familiar with docker, can take the reference from here- 
>>> >> 
>>> >> http://en.wikipedia.org/wiki/Docker_(software) 
>>> >> 
>>> >> Regards, 
>>> >> Rita Sinha 
>>> > 
>>> > -- 
>>> > -- 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 a topic in the 
>>> > Google Groups "Arches Project" group. 
>>> > To unsubscribe from this topic, visit 
>>> > 
>>> https://groups.google.com/d/topic/archesproject/LwYW_TTLpcc/unsubscribe. 
>>>
>>> > To unsubscribe from this group and all its topics, 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