Closed ahmedezzeldin93 closed 7 years ago
To build the assets:
cd portia/portiaui
npm install -g ember-cli
npm install
bower install
ember build -e production
To build build portia run:
docker build -t portia ..
Then you can run it using:
docker run -i -t --rm -v ~/data:/app/slyd/slyd/data/projects:rw -v ~/scrapinghub/portia/portiaui/dist:/app/portiaui/dist -p 9001:9001 portia
After successful docker built and whether working from whether nui-develop or develop, running the following
sudo docker run -i -t --rm -v ~/portia/:/app/:rw -p 9001:9001 --name portia portia
and hitting http://localhost:9001/static/index.html generate that error, any help ?