Difference between revisions of "Setting up dev environment"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
** https://github.com/Wikidocumentaries/wikidocumentaries-ui | ** https://github.com/Wikidocumentaries/wikidocumentaries-ui | ||
** https://github.com/Wikidocumentaries/wikidocumentaries-api | ** https://github.com/Wikidocumentaries/wikidocumentaries-api | ||
+ | * Edit wikidocumentaries-ui/src/store/store.js | ||
+ | Change the contant const BASE_URL to the local address by commenting out the server address: | ||
+ | <pre> | ||
+ | //const BASE_URL = "http://localhost:3000/" | ||
+ | const BASE_URL = "https://wikidocumentaries-api.wmflabs.org/" | ||
+ | </pre> | ||
* Go to each directory and run | * Go to each directory and run | ||
** npm install | ** npm install |
Revision as of 16:23, 14 August 2019
- Install Node.js. You need at least node version 7.6 because the async is supported since that version (https://www.infoq.com/news/2017/02/node-76-async-await) and it is used
- Install npm
- Clone the repositories
- Edit wikidocumentaries-ui/src/store/store.js
Change the contant const BASE_URL to the local address by commenting out the server address:
//const BASE_URL = "http://localhost:3000/" const BASE_URL = "https://wikidocumentaries-api.wmflabs.org/"
- Go to each directory and run
- npm install
- npm run dev
About | Technology | Design | Content modules | Tool pages | Projects |
Status
Wikidocumentaries Slack |
Setting up dev environment |
Components |
Active modules Module ideas |
Visual editor | Central Park Archives |