Difference between revisions of "Setting up dev environment"

From Wikidocumentaries
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
+
* Edit wikidocumentaries-ui/src/store/store.js. Change the contant const BASE_URL to the local address by commenting out the server address:
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 = "http://localhost:3000/"

Revision as of 16:23, 14 August 2019

//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


Navigation

About Technology Design Content modules Tool pages Projects
Status

Wikidocumentaries blog

Wikidocumentaries demo

Phabricator project

Facebook group

GitHub repository

Translation in TranslateWiki

Wikidocumentaries Slack

Setting up dev environment

Resources

Translations

Languages

Using Wikibase

Federation with Wikidata

APIs

Linking

Media metadata

Properties to content

User registration

Licensing

Page types

Landing page

Search page

Topic page

User page

Organisation page

Project page

Tool page

Tasks

Components

Main toolbar and footer

Search

Faceting

Topic page header

Content module

Dropdown

Modal

Icons

Active modules

Article

Family tree

Gallery

Historical map

Images

Image viewer

Infobox

Map

Module ideas

Audio/Video

Bibliography

Correspondence

Discussion

Graph

Name

Newspaper articles

Testimonials

Timeline

Visualizations

Wikidocumentary

3D

Visual editor

Query tool

QuickStatements

Open Refine

Creating topics

Uploading images

Geolocating tool

Metadata editor

Rectifying maps

Transcription

Annotation tool

Central Park Archives

Convent Quarter

Wikisource