@@ -130,15 +130,15 @@ This will prompt you to confirm removing old indices and setting up mappings on
130130the Elasticsearch service (say` YES ` ). It will then proceed to rsync a partial
131131CPAN in` /CPAN ` for its metadata to be imported.
132132
133- Once the above is done, you should be able to see your local partial CPAN data
134- in e.g.[ http://localhost:5001/recent ] ( http://localhost:5001/recent ) and
135- elsewhere.
136-
137- Alternatively, if you just want to hack on the web frontend, you can run this
138- instead of all the above:
133+ After the initialization above completes, the next step is to start the web
134+ frontend with the following command:
139135
140136docker compose up web-server
141137
138+ Once that is done, you should be able to see your local partial CPAN data
139+ in e.g.[ http://localhost:5001/recent ] ( http://localhost:5001/recent ) and
140+ elsewhere.
141+
142142From here, you can proceed and hack on the MetaCPAN code at` src/metacpan-api `
143143and/or` src/metacpan-web ` directories, and saving edits will reload the
144144corresponding apps automatically!
@@ -185,28 +185,6 @@ To access the `psql` command line client in the PostgreSQL container:
185185Each container is responsible for a different service. Some of these services
186186are available in the developer environment via ports on the host system.
187187
188- We are using[ traefik] [ 13 ] to manage the traffic between services. The current
189- configuration is:
190-
191- - api:[ http://api.metacpan.localhost ] ( http://api.metacpan.localhost )
192- - web:[ http://web.metacpan.localhost ] ( http://web.metacpan.localhost )
193- - grep:[ http://grep.metacpan.localhost ] ( http://grep.metacpan.localhost )
194-
195- In order to access to the localhost subdomains, you probably have to manually
196- add these entries in you` /etc/hosts ` file.
197-
198- # add to /etc/hosts
199- 127.0.0.1 api.metacpan.localhost
200- 127.0.0.1 gh.metacpan.localhost
201- 127.0.0.1 grep.metacpan.localhost
202- 127.0.0.1 metacpan.localhost
203- 127.0.0.1 web.metacpan.localhost
204-
205- You can access the dashboard configuration via:
206- [ http://metacpan.localhost:8080 ] ( http://metacpan.localhost:8080 )
207-
208- [ 0 ] :https://docs.traefik.io/providers/docker/
209-
210188####` web `
211189
212190The local instance of the web front end is accessible via:
@@ -240,7 +218,7 @@ The PostgreSQL service by default is only accessible from other containers.
240218
241219The grep metacpan front end is accessible via:
242220
243- - [ http://grep.metacpan. localhost ] ( http://grep.metacpan. localhost )
221+ - [ http://localhost:3000 ] ( http://localhost:3000 )
244222
245223Note: this is using a smaller, frozen version of` metacpan-cpan-extracted ` via
246224[ metacpan-cpan-extracted-lite] ( https://github.com/metacpan/metacpan-cpan-extracted-lite ) .