Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.55 KB

installation.md

File metadata and controls

33 lines (27 loc) · 1.55 KB

Installation

Install standalone application directly from the source

The following instructions are for setting up a standalone version of the Amundsen application. This approach is ideal for local development.

# Clone repo
$ git clone https://github.com/lyft/amundsenfrontendlibrary.git

# Build static content
$ cd amundsenfrontendlibrary/amundsen_application/static
$ npm install
$ npm run build # or npm run dev-build for un-minified source
$ cd ../../

# Install python resources
$ python3 -m venv venv
$ source venv/bin/activate
$ pip3 install -r requirements3.txt
$ python3 setup.py install

# Start server
$ python3 amundsen_application/wsgi.py
# visit http://localhost:5000 to confirm the application is running

You should now have the application running at http://localhost:5000, but will notice that there is no data and interactions will throw errors. The next step is to connect the standalone application to make calls to the search and metadata services.

  1. Setup a local copy of the metadata service using the instructions found here.
  2. Setup a local copy of the search service using the instructions found here.
  3. Modify the LOCAL_HOST, METADATA_PORT, and SEARCH_PORT variables in the LocalConfig to point to where your local metadata and search services are running, and restart the application with
$ python3 amundsen_application/wsgi.py