You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ Do not change the surge publishing parameters in siteConfig.js
Working on the website
git clone this repo
do stuff in the website repo
make sure that your changes build locally ($ cd website && yarn, then yarn start
this should build the website locally and deploy it to localhost:3000 and open that up in your browser
Note: this repo is called website, but there is also a directory within this repo titled website. You need to be in the website directory within the website repo (website/website) in order to use yarn to run or build updates.
Publishing the website
when you're ready to publish, navigate to the website directory and run yarn build
then navigate to the newly built repo (website/build/cryptoeconomics-study)
install surge: npm i -g surge
run surge in the directory of the most recent build: surge
login to surge (must be a Gerbil with admin access)
the default will be to publish the current directory: hit enter to accept
for the domain delete whatever surge recommends and enter cryptoeconomics.study
wait for it to do it's thing, then go to cryptoeconomics.study to see the results (should be almost instant after surge finishes)
The text was updated successfully, but these errors were encountered:
yeqbfgxjiq
changed the title
Docusaurus Publishing Guides
Surge Publishing Guides
Sep 2, 2019
yeqbfgxjiq
changed the title
Surge Publishing Guides
Surge Publishing Guide
Sep 2, 2019
We are not publishing to gh-pages via Docusaurus. We are publishing via surge.sh because it allows us to more easily setup sub domains for the forum. The process to push updates to cryptoeconomics.study is as follows:
Working on the website
git clone
this repowebsite
repo$ cd website && yarn
, thenyarn start
Publishing the website
website
directory and runyarn build
website/build/cryptoeconomics-study
)npm i -g surge
surge
in the directory of the most recent build:surge
enter
to acceptcryptoeconomics.study
The text was updated successfully, but these errors were encountered: