-
Notifications
You must be signed in to change notification settings - Fork 10
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
Run issue #59
Comments
Requriements
Preparation
6. (Optional) Use
|
If you don't bother using aeCAD offline, you can use it online: https://aktos.io/aecad/ (fallback url: http://aecad.surge.sh/) |
Hello thank you for ur reply.. i already make
1,2,3
but cannot make 4,5,6
If u could give me more information.. it will be nice
I already installed Cygwin and temux
i dont understand it 4 5 6 ... so if u could explain it would be grateful
and how to set it online example on a webhosting ?
Or can i translate that app thanku
…On Sat, Jan 16, 2021 at 7:47 PM Cerem Cem ASLAN ***@***.***> wrote:
Following instructions are tested on a clean LXC container, created by:
sudo lxc-create -n aecad -t debian -B btrfs -- -r buster --packages nano sudo tmux git
Requriements
- git
- tmux
- python-pip
- bash-completion (recommended)
Preparation
1.
Install nodeenv:
pip install nodeenv # don't forget to add ~/.local/bin to your $PATH
2.
Clone this repository. Assuming you are at ~/some/path:
git clone --recursive https://github.com/aktos-io/aecad
cd aecad
3.
Create your virtual environment:¹
<https://github.com/aktos-io/scada.js/blob/master/doc/using-virtual-environment.md>
:
For Windows platform, follow these instructions
<https://github.com/aktos-io/scada.js/tree/master/doc/on-windows>
first.
$ cd ./scada.js
$ make create-venv
$ ./venv
(scadajs1) $ exit
4.
Install required packages:
$ cd .. # now you are in ~/some/path/aecad
$ make install-deps
5.
Open 2 different terminals and run those commands in each of them (or
skip this step completely and proceed to #6):
Terminal-1:
$ ./scada.js/venv
(scadajs1) $ (cd scada.js && APP=main make development)
Terminal-2:
$ ./scada.js/venv
(scadajs1) $ (cd servers && ./run-ls webserver.ls --development)
6. (Optional) Use tmux:
1.
Add the following code to the ~/.bashrc:
# For Tmux VirtualEnv support
tmux_get_var(){
local key=$1
[[ -n "$TMUX" ]] && tmux showenv | awk -F= -v key="$key" '$1==key {print $2}'
}
# activate the virtual environment if it is declared
venv=$(tmux_get_var "VIRTUAL_ENV")
if [ -n "$venv" ]; then
source $venv/bin/activate;
fi
2.
Start the development anytime by:
./uidev.service`
7. Navigate to http://localhost:4001 Usage
This part is under development. I can barely find time to complete the
documentation. You can start with Help button, on the top right corner.
Then simply click to green "Compile" button ([>]), poke around with the
example.
You can of course help me by opening issues about anything.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#59 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF4LIJCV5I32QGT5DBSF6ILS2HNMFANCNFSM4WFIKNKQ>
.
|
So you are on Windows. Please post the error you are receiving. Note that I can't quite remember if I tried it under Cygwin, so you may try it as exactly described in
It's a huge work to do, but yes, it's doable. However, I didn't provide a translation support (mechanism) yet. |
Can you verify that you see those lines in $ ./venv
(scadajs1) $ |
I'will check it ..
I have to run it via command prompt (cmd) and then open Cygin and msys2 ?
…On Sat, Jan 16, 2021 at 8:58 PM Cerem Cem ASLAN ***@***.***> wrote:
Can you verify that you see those lines in #3:
$ ./venv (scadajs1) $
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#59 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF4LIJHG4BGRB5EMWXNU24DS2HVWNANCNFSM4WFIKNKQ>
.
|
and can i use electronic shapes and these things there ?
…On Sat, Jan 16, 2021 at 9:03 PM Egzon Osmani ***@***.***> wrote:
I'will check it ..
I have to run it via command prompt (cmd) and then open Cygin and msys2 ?
On Sat, Jan 16, 2021 at 8:58 PM Cerem Cem ASLAN ***@***.***>
wrote:
> Can you verify that you see those lines in #3:
>
> $ ./venv (scadajs1) $
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#59 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AF4LIJHG4BGRB5EMWXNU24DS2HVWNANCNFSM4WFIKNKQ>
> .
>
|
No, there is no "shape" support (yet). You'll need to define your mechanical layout with a DXF file,then snap your electronic components to appropriate positions: snap-to-position.mp4
There is no Cygwin involved in our instructions. You shouldn't need Cygwin. If you keep having troubles on Windows, I may try the instructions in a clean Windows installation. |
@nozge What is the latest status? Can we close the issue? |
Please feel free to open a new issue if the problem persists. |
Hello i downloaded ur code and im trying to run it ...
Can u please give me some instructions of how to set it online on a host and how to run it in localhost
It is the same like KiCad ?
The text was updated successfully, but these errors were encountered: