diff --git a/README.md b/README.md index cf182bc..3305af2 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,15 @@ Requirements : ### Install -1. Clone or fork this repo: `git clone ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_public.git` -2. Clone or fork the private repo containing members data in the same folder that SiteWebAstrolabe_public : `git clone ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_private.git` +1. Clone or fork this repo INCLUDING its submodule: `git clone --recurse-submodules ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_public.git` 3. `cd` into the project directory (SiteWebAstrolabe_public) and run `npm install` 4. Once all the dependencies are installed run `npm start` 5. Open your browser at `http://localhost:8080` and away you go! +If you don't have the members data (page /equipe), you may have done a simple (non-recursive) clone. In this case, populate with member data by running `git submodule update --init --recursive`. Also, check that you do have the rights for the https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe_private repository. + +If you need to get the latest commits of the SiteWebAstrolabe_private repo, you can do a `git submodule update --remote`. + ### Deploy 1. Copy paste deploy.js file in two new files `deploy-preprod.js`and `deploy-prod.js`