-
In the root project folder, copy the
example.envand save as.env.devfor development and.env.prodfor production. Update the variables. In the project directory, you can run: -
Run
docker-compose upfrom the root folder to the application. To run the application in background, usedocker-compose up -d. The logs can be seen throughdocker-compose logs. -
For production mode. Run
docker-compose -f docker-compose.prod.yml up
Runs the app in the development mode.
Open http://localhost:3004 to view it in the browser.
- Navigate to
http://localhost:3004/ghostto access the admin panel. After you've finished the setup process. You'll be able to see the ghost dashboard.
-
Navigate to
http://localhost:3004/ghost. On the bottom left you'll see a ⚙️ icon. It'll navigate you to the settings page. Choose theme then under installed theme, selectyatri-casper. It'll activate your custom theme. -
Navigate to
ghost/themes/yatri-casperfrom your root project directory and make changes to theme files. Reload your blog site and you'll be able to see your changes. -
To create a
.ziptheme file.cd ghost/themes/yatri-casper # install dependencies yarn # create .zip file yarn zip
🏍 Happy Coding :)