Skip to content
Snippets Groups Projects
config.js 674 B
Newer Older
julientaq's avatar
julientaq committed
// get a client secret and id and define the one on the server through this:
// `docker exec -it <name_of_the_pagedjs_server_container> yarn create:client`
julientaq's avatar
julientaq committed

// oldest one
// const clientId = "59a3392b-0c4f-4318-bbe2-f86eff6d3de4";
// const clientSecret = "asldkjLKJLaslkdf897kjhKUJH";

julientaq's avatar
julientaq committed
const clientId = "59a3392b-0c4f-4318-bbe2-f86eff6d3de4";
const clientSecret = "asldkjLKJLaslkdf897kjhKUJH";
julientaq's avatar
julientaq committed

//get the protocol from the docker image
Alexandros Georgantas's avatar
Alexandros Georgantas committed
const protocol = "http";
const host = "localhost";
julientaq's avatar
julientaq committed
const port = "3000";
julientaq's avatar
julientaq committed

//file that will be sent to the docker image
Alexandros Georgantas's avatar
Alexandros Georgantas committed
const zipPath = "./test.zip";
julientaq's avatar
julientaq committed

julientaq's avatar
julientaq committed
module.exports = {
Alexandros Georgantas's avatar
Alexandros Georgantas committed
  clientId,
  clientSecret,
julientaq's avatar
julientaq committed
  protocol,
  host,
Alexandros Georgantas's avatar
Alexandros Georgantas committed
  port,
  zipPath,
};