Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme file update to include the eu host details #35

Merged
merged 2 commits into from
Oct 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@ Update configuration details at config/index.js
management_token: '' //Stack management_token
data: '' // The data that's to be exported. This is generally the one exported via the contentstack-export utility. ex: '../contentstack-export/contents'. Kindly provide the relative path to the directory
```
For switching to EU region update the hosts at config/default.js

```js
{
host:'https://eu-api.contentstack.com/v3',
...
}
```
## Usage
Once all things are configured, you can run following commands

Expand Down
4 changes: 4 additions & 0 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ module.exports = {
// not passing `locale` will migrate all the locales present
// locales: ['fr-fr'],
host: 'https://api.contentstack.io/v3',
// use below hosts for eu region
// host:'https://eu-api.contentstack.com/v3',
modules: {
types: [
'locales',
Expand Down Expand Up @@ -47,6 +49,8 @@ module.exports = {
// This is the total no. of asset objects fetched in each 'get assets' call
limit: 100,
host: 'https://api.contentstack.io',
// use below hosts for eu region
// host:'https://eu-api.contentstack.com',
validKeys: [
'uid',
'filename',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "contentstack-import",
"version": "1.7.5",
"version": "1.7.6",
"description": "Import data into Contentstack",
"homepage": "https://www.contentstack.com/docs/tools-and-frameworks/content-migration/within-contentstack",
"author": {
Expand Down