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

Fix publish module commands #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions book/ch02-03-hello-move.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ <h2 id="building-the-chat-dapp"><a class="header" href="#building-the-chat-dapp"
</code></pre>
<h2 id="publish-module"><a class="header" href="#publish-module">Publish Module</a></h2>
<p>Aptos language requires you to initialize the Move environment:</p>
<pre><code class="language-bash">movement aptos init
<pre><code class="language-bash">movement init
</code></pre>
<p>Then you can publish the module:</p>
<pre><code class="language-bash">movement aptos move publish --named-addresses chat_addr=default
<pre><code class="language-bash">movement move publish --named-addresses chat_addr=default
</code></pre>
<h2 id="test-front-end"><a class="header" href="#test-front-end">Test Front End</a></h2>
<p>To test the front end, navigate to the frontend directory and run the following command to start the front end server.</p>
Expand Down