Skip to content

Installation #86

@benjisympa

Description

@benjisympa

For now only this method should work to install the server :
(just execute theses lines works for me)

Create folders

$ mkdir camomile-data; mkdir camomile-data/mongodb; mkdir camomile-data/mongodb/files; mkdir camomile-data/camomile; mkdir camomile-data/camomile/logs; mkdir camomile-data/media; mkdir camomile-data/upload

Pull CAMOMILE source code from Github repository

$ git clone [email protected]:camomile-project/camomile-server.git &&
cd camomile-server && git checkout develop

Run MongoDB and CAMOMILE REST API (set CMML_* variables if needed)

$ export CMML_DB=../camomile-data/mongodb/files && export CMML_LOGS=../camomile-data/camomile/logs && export CMML_MEDIA=../camomile-data/media && export CMML_UPLOAD=../camomile-data/upload && export CMML_PORT=3000 && export CMML_PASSWORD=roO7p4s5wOrD && docker-compose -f ../camomile-server/docker-compose.dev.yml up --build -d

Check that docker runs images : should list 2 lines for mongo-db and node

$ docker ps

Edit CAMOMILE source code and your changes will be reflected automatically

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions