# How to bring local website to Ghost(Pro)

**URL:** <https://forum.ghost.org/t/how-to-bring-local-website-to-ghost-pro/25205>\
**Category:** Developer help\
**Created:** [August 26, 2021, 5:55pm UTC](https://forum.ghost.org/t/how-to-bring-local-website-to-ghost-pro/25205 "2021-08-26T17:55:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anelguel](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/anelguel/32/14788_2.png) [@anelguel](https://forum.ghost.org/u/anelguel)\
**Post date:** [August 26, 2021, 5:55pm UTC](https://forum.ghost.org/t/how-to-bring-local-website-to-ghost-pro/25205/1 "2021-08-26T17:55:20Z")

</div>

Hello, I installed ghost and have a website I developed running locally. I like that I can work with it from the Dashboard at localhost:2368/ghost and Visual Studio Code.

I’d like to take this relationship to the next level and just signed up for the 14 day trial using Ghost(Pro). I see that a new website was created. My questions are:

-How do I bring in my old website (the one I’m running locally)?  
-How do I open it in Visual Studio Code?

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [August 26, 2021, 7:25pm UTC](https://forum.ghost.org/t/how-to-bring-local-website-to-ghost-pro/25205/2 "2021-08-26T19:25:49Z")

</div>

When I’m developing a Ghost theme locally i set it up as a GitHub repo and then use this GitHub Action to automatically deploy my changes to a Ghost(Pro) site:

> **[Official Ghost + GitHub Integration](https://ghost.org/integrations/github/)**
>
> Set up simple continuous integration of your Ghost theme to deploy directly to your Ghost website with GitHub Actions. Share code snippets with GitHub Gists 👨‍💻

It works really well 😊

---

<div class="post-metadata">

**Author:** ![anelguel](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/anelguel/32/14788_2.png) [@anelguel](https://forum.ghost.org/u/anelguel)\
**Post date:** [August 26, 2021, 8:18pm UTC](https://forum.ghost.org/t/how-to-bring-local-website-to-ghost-pro/25205/3 "2021-08-26T20:18:58Z")

</div>

I’m not sure I asked the question correctly. I installed and ran ghost locally on my computer using this: [How to install Ghost locally on Mac, PC or Linux](https://ghost.org/docs/install/local/). I started building a website and really like it. I can access it by going to localhost:2368/ghost and using the online Dashboard, but I can also open it in VS Code.

Then I decided to sign up for Ghost(Pro). I thought I would be able to take my already existing site and continue working on it, but instead the Ghost(Pro) setup created a brand new one. Moreover, I don’t know how to open it in VS Code. Instead, I can only access the Dashboard and it feels like a regular CMS.

My question is, what the best way to take my local website and move it to the Ghost(Pro) version?  
Also, how do I open my Ghost(Pro) website in VS Code?

I hope this makes sense 🥴 haha

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [August 27, 2021, 5:37pm UTC](https://forum.ghost.org/t/how-to-bring-local-website-to-ghost-pro/25205/4 "2021-08-27T17:37:43Z")

</div>

I get what you mean 👍🏻. Your local running version of Ghost is downloaded from the open source project, which means you have access to literally anything with VS Code. Ghost(Pro) is also a running version of the same codebase, but hosted on a server which you have limited access to. You can however access the theme code using a code editor in the same way I mentioned above. In reality this is for the best as you shouldn’t be editing Ghost itself but just the theme and the content. As for content you can log into your local version and download the content from the export settings, which you can then upload to your Pro account with the same settings view

---

<div class="post-metadata">

**Author:** ![anelguel](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/anelguel/32/14788_2.png) [@anelguel](https://forum.ghost.org/u/anelguel)\
**Post date:** [August 30, 2021, 3:42pm UTC](https://forum.ghost.org/t/how-to-bring-local-website-to-ghost-pro/25205/5 "2021-08-30T15:42:31Z")

</div>

Now I know what you mean. I just set it up and everything is running smoothly 🏄🏽‍♀️ thank you so much!

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [August 31, 2021, 11:36am UTC](https://forum.ghost.org/t/how-to-bring-local-website-to-ghost-pro/25205/6 "2021-08-31T11:36:07Z")

</div>

No problem, sorry for not being clear initially

---

<div class="post-metadata">

**Author:** ![jsulopzs](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jsulopzs/32/31915_2.png) [@jsulopzs](https://forum.ghost.org/u/jsulopzs)\
**Post date:** [August 31, 2024, 1:46pm UTC](https://forum.ghost.org/t/how-to-bring-local-website-to-ghost-pro/25205/7 "2024-08-31T13:46:45Z")

</div>

I’m trying to sync the content through the docker image.

```docker
version: "3.1"

services:
  ghost:
    image: ghost:alpine
    ports:
      - "3001:2368"
    volumes:
      # Mount only the specific directories you need
      - ./ghost-content:/var/lib/ghost/content
    environment:
      NODE_ENV: development
      database __connection__ filename: /var/lib/ghost/content/data/ghost.db
      url: https://datons-stories.ghost.io

```

To access the content, the docker image should have a parameter to pass an API\_KEY I guess, but I don’t find it on the [instructions](https://hub.docker.com/_/ghost/).
