Difference between revisions of "Setting up dev environment"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* Edit wikidocumentaries-ui/src/store/store.js. Change the contant const BASE_URL to the local address by commenting out the server address: | * Edit wikidocumentaries-ui/src/store/store.js. Change the contant const BASE_URL to the local address by commenting out the server address: | ||
<pre> | <pre> | ||
− | + | const BASE_URL = "http://localhost:3000/" | |
− | const BASE_URL = "https://wikidocumentaries-api.wmflabs.org/" | + | //const BASE_URL = "https://wikidocumentaries-api.wmflabs.org/" |
</pre> | </pre> | ||
* Go to each directory and run | * Go to each directory and run |
Revision as of 03:43, 15 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 |