Contact: [email protected]
Home page: https://github.com/Hypertopic/Porphyry
git
curl
wget
node
andnpm
docker
anddocker-compose
wget -qO- "https://github.com/Hypertopic/Argos/archive/v4.tar.gz" | tar xvz
cd Argos-4
docker-compose up -d
cd ..
Argos is now available at http://localhost/
curl --silent -X PUT localhost:5984/_users
curl --silent -X PUT localhost:5984/_users/org.couchdb.user:alice -H 'Accept:application/json' -H 'Content-Type:application/json' -d '{"name":"alice", "password":"whiterabbit", "roles":[], "type":"user"}'
git clone https://github.com/Hypertopic/Porphyry.git
cd Porphyry
npm install
npm start
Porphyry is now available at http://localhost:3000/ Please note that the terminal is devoted to the process until it is canceled.
Add this function to your profile:
function cucumber() {
(docker run --rm -v "$(pwd)":/app --tty --net="host" --env APP_HOST="http://host.docker.internal:3000" benel/cucumber-capybara "$@")
}
Type the following command:
cucumber --help
From the Porphyry
folder:
cucumber --fail-fast --quiet
- Sign up to Disqus,
- Choose
Install Disqus on my site
, - Set your Website data and create site. Remember its
short name
. - Edit
public/config.yml
and paste the short name as the value ofdisqus
setting.
- Sign up to GoogleMaps,
- Create an API key to be used with geocoding and dynamic map services
- Edit
public/config.yml
and paste the API key as the value ofmap/key
setting, - If necessary, switch geocoding API URI from GoogleMaps to GeoXene.
- If necessary, add layers (
vases
is here the ID of the portfolio):
portfolio:
vases:
layers:
- uri: https://steatite.utt.fr/picture/405e66c63060b595c02e6590a8f6abbda104cb03
bounds:
south: 37.977910
west: 23.718200
north: 37.978780
east: 23.719010
- uri: https://steatite.utt.fr/picture/78e81db6ee77decd3e40cf3124c04a6aaaaa2fc4
bounds:
south: 37.97862453543905
west: 23.716649743986387
north: 37.978755
east: 23.716789
Edit public/config.yml
and add:
portfolio:
vitraux:
visitMap: true
where vitraux
is the ID of your portfolio.
Please note that enabling building maps breaks a few tests (in their current version).