cd client
yarn install
country=ke page=first yarn dev
and open http://127.0.0.1:8080/?xcid=Z0JBQQ
cd client
yarn new-page
And follow the instructions.
first
landing page is in ./client/src/landing-pages/first/
directory.
Files in this directory:
Root.tsx
is the main component for the landing pageindex.tsx
,index.ssr.tsx
,hotReload.tsx
are boilerplate, don't worry about them.
yarn update-page-locales
country=ke page=first yarn dev
country=ke page=ipad-desktop yarn dev
country=gr page=love-horoscope yarn dev
country=ke page=first yarn build-and-upload-page
You must have osui_aws_access_key_id
and osui_secret_access_key
environment variables.
The command will display the preview link of the page.
yarn docz:dev
will give you a URL like (http://localhost:3000), open this URL on your browser.
The following topics are related to advanced features that are not fully tested.
Inside client
,
page=first yarn build:ssr:all
First make sure that you have built the pages for server-side rendering. (above)
cd server
yarn install
yarn dev-server
and open http://localhost:3030/Z0JBQQ
Development Without React:
noReact=true page=love-horoskop html=true yarn dev
Development Without CSS Modules:
page=love-horoskop html=true yarn dev