Skip to content
Snippets Groups Projects
Commit 930b4b9b authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

bugfix: getting the config.json out of the src directory

parent 79e25cae
No related branches found
No related tags found
1 merge request!260bugfix: getting the config.json out of the src directory
Pipeline #9152 canceled with stage
in 17 minutes and 33 seconds
/node_modules
/src/config.json
config.json
*.iml
/dist/*
!/dist/.htaccess
......
......@@ -15,7 +15,7 @@ const pugFile = `${pugDir}/index.pug`
const dataDir = './translation'
const outDir = './dist'
const paramFile = './src/config.json'
const paramFile = './config.json'
//Compile custom function
async function compile() {
......
File moved
{
"sdn": "https://api-staging.coopstarter.happy-dev.fr/",
"client_domain": "http://localhost:9000",
"client_id": "821788",
"endpoints": {
"resources": "https://api-staging.coopstarter.happy-dev.fr/resources/",
"requests": "https://api-staging.coopstarter.happy-dev.fr/requests/",
"fields": "https://api-staging.coopstarter.happy-dev.fr/fields/",
"formats": "https://api-staging.coopstarter.happy-dev.fr/formats/",
"types": "https://api-staging.coopstarter.happy-dev.fr/types/",
"languages": "https://api-staging.coopstarter.happy-dev.fr/languages/",
"steps": "https://api-staging.coopstarter.happy-dev.fr/steps/",
"step1": "https://api-staging.coopstarter.happy-dev.fr/sources/step1/",
"step2": "https://api-staging.coopstarter.happy-dev.fr/sources/step2/",
"step3": "https://api-staging.coopstarter.happy-dev.fr/sources/step3/",
"step4": "https://api-staging.coopstarter.happy-dev.fr/sources/step4/",
"step5": "https://api-staging.coopstarter.happy-dev.fr/sources/step5/",
"step6": "https://api-staging.coopstarter.happy-dev.fr/sources/step6/",
"users": "https://api-staging.coopstarter.happy-dev.fr/users/",
"targets": "https://api-staging.coopstarter.happy-dev.fr/targets/",
"criterias": "https://api-staging.coopstarter.happy-dev.fr/sharingcriterias/",
"organisations": "https://api-staging.coopstarter.happy-dev.fr/organisations/",
"searchers": "https://api-staging.coopstarter.happy-dev.fr/searchers/",
"contributors": "https://api-staging.coopstarter.happy-dev.fr/contributors/",
"reviews": "https://api-staging.coopstarter.happy-dev.fr/reviews/",
"countries": "https://api-staging.coopstarter.happy-dev.fr/countrys/",
"brokenlinks": "https://api-staging.coopstarter.happy-dev.fr/brokenlinks/"
}
}
\ No newline at end of file
{
"sdn": "https://localhost:8443/",
"client_domain": "http://localhost:9000",
"client_id": "821788",
"endpoints": {
"accounts": "https://localhost:8443/accounts/",
"resources": "https://localhost:8443/resources/",
"requests": "https://localhost:8443/requests/",
"fields": "https://localhost:8443/fields/",
"formats": "https://localhost:8443/formats/",
"types": "https://localhost:8443/types/",
"languages": "https://localhost:8443/languages/",
"steps": "https://localhost:8443/steps/",
"step1": "https://localhost:8443/steps/1/resources/validated/",
"step2": "https://localhost:8443/steps/2/resources/validated/",
"step3": "https://localhost:8443/steps/3/resources/validated/",
"step4": "https://localhost:8443/steps/4/resources/validated/",
"step5": "https://localhost:8443/steps/5/resources/validated/",
"step6": "https://localhost:8443/steps/6/resources/validated/",
"users": "https://localhost:8443/users/",
"targets": "https://localhost:8443/targets/",
"criterias": "https://localhost:8443/sharingcriterias/",
"organisations": "https://localhost:8443/organisations/",
"searchers": "https://localhost:8443/searchers/",
"contributors": "https://localhost:8443/contributors/",
"reviews": "https://localhost:8443/reviews/",
"countries": "https://localhost:8443/countrys/",
"brokenlinks": "https://localhost:8443/brokenlinks/",
"interfacelanguages": "https://localhost:8443/interfacelanguages/",
"learningoutcomes": "https://localhost:8443/learningoutcomes/"
}
}
\ No newline at end of file
......@@ -10,7 +10,7 @@
"copy-js": "cp -rv ./src/scripts/ ./dist/",
"copy-fonts": "cp -R ./src/fonts ./dist",
"copy-images": "cp -R ./src/images ./dist",
"copy-config": "cp -n src/config.sample.json src/config.json",
"copy-config": "cp -n config.sample.json config.json",
"watch-js": "onchange 'src/scripts/*.js' -- run-s copy-js",
"build": "run-s copy-js copy-fonts copy-images pug scss",
"watch": "run-p watch-js copy-fonts copy-images \"pug -- -w\" \"scss -- -w\" ",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment