diff --git a/README.md b/README.md index b7cf9db0e4d9eed9f80ac5148a050e0f8ef197a5..36e62cef7ff6a31e63bb088a0f0c851f64922c9a 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,13 @@ Docker Compose ## Installation 1. Clone the repository with: `git clone https://gitlab.gwdg.de/farbenlehre/gfl-app-new.git` -2. Copy `.env.dist` to `.env`. Add all required parameters to the `.env` file, such as the S3 and search index configuration. +2. Copy `.env.dist` to `.env`. Add all required parameters to the `.env` file, such as the S3 and search index configuration. Ask the GFL team for datailed data aka. tokens and stuff. 3. Change the premission of solr folder with: `sudo chmod -R 777 solr` -2. Install backend dependencies with: `docker-compose up -d` and `docker-compose exec web composer install`. -4. Install frontend dependencies with `nvm use && yarn install`. -5. Install the assets with: `yarn run encore dev --watch` -6. Import, transform and index the TEI files with: `docker-compose exec web ./bin/console app:start_indexing` +4. Install backend dependencies with: `docker-compose up -d` and `docker-compose exec web composer install`. +5. Install yarn `npm install --global yarn` +6. Install frontend dependencies with `nvm use && yarn install`. +7. Install the assets with: `yarn run encore dev --watch` +8. Import, transform and index the TEI files with: `docker-compose exec web ./bin/console app:start_indexing` ## Running locally