-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* setup the how to get started part * creating a project * restructuring * updating main installation page * updating go install + manual install * installation build
- Loading branch information
Showing
7 changed files
with
104 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
============================================================ | ||
[|:construction:| WIP |:construction:|] Basics | ||
============================================================ | ||
|
||
Basics page. | ||
|
||
Create your first project | ||
---------------------------------- | ||
|
||
Type in the following command to create your first project | ||
|
||
.. code-block:: shell | ||
emf-cli init awesome-ia-app | ||
**Congratulations on creating your first project!** |:clap:| | ||
|
||
You've successfully taken your first step with the EMF toolkit. Now, it's time to dive deeper and unlock the full potential of this powerful tool. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
============================================================== | ||
Installation | ||
============================================================== | ||
|
||
.. WARNING:: | ||
|
||
**Python Requirements** | ||
|
||
EMF CLI requires `Python <https://www.python.org/downloads>`_ version 3.10 or above. You also need to add it to the PATH. | ||
|
||
Install EMF Command Line Interface | ||
---------------------------------- | ||
|
||
Install manually | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
To download the CLI manually, go to `EMF CLI Releases <https://github.com/easy-model-fusion/emf-cli/releases>`_ . Scroll down to the Assets section of the page and click the link (.gz or .zip) for your OS and extract the files. Make sure your system Path includes the path to the EMF CLI binary you downloaded. | ||
|
||
**Note:** On macOS, if you’re not able to run commands, you may need to change the binary’s permissions to allow execution. From the binary’s folder, run: ``chmod 755 emf-cli``. | ||
|
||
Install using Go | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. NOTE:: | ||
|
||
**Go Requirements** | ||
|
||
If you wish to install through `Go <https://go.dev/>`_, then please make sure you are using version 1.21 or above. | ||
|
||
Install it directly using the following command | ||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | ||
|
||
.. |:construction:| This might not work since the repository is still private |:construction:| | ||
.. code-block:: shell | ||
go install github.com/easy-model-fusion/emf-cli@latest | ||
Install it from source | ||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | ||
|
||
First get the source code from the repository : | ||
|
||
.. code-block:: shell | ||
git clone https://github.com/easy-model-fusion/emf-cli | ||
cd emf-cli/ | ||
Then you can start building (using make) : | ||
|
||
.. code-block:: shell | ||
make build | ||
Or you could also build it yourself : | ||
|
||
.. code-block:: shell | ||
go build | ||
Now all that's left for you is adding it to the PATH ! | ||
|
||
Verify installation | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
After installation, you will have access to the ``emf-cli`` binary in your command line. | ||
|
||
You can check you have the right version with this command: | ||
|
||
.. code-block:: sh | ||
emf-cli version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
====================================================== | ||
[|:construction:| WIP |:construction:|] About | ||
[|:construction:| WIP |:construction:|] Overview | ||
====================================================== | ||
|
||
About page. | ||
Overview page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters