Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Single Command Installer #24

Open
appcypher opened this issue Jul 14, 2018 · 19 comments
Open

Single Command Installer #24

appcypher opened this issue Jul 14, 2018 · 19 comments
Assignees
Labels
enhancement New feature or request hacktoberfest Hacktober 2018 to-do An issue worthy of doing and looking into
Milestone

Comments

@appcypher
Copy link
Contributor

appcypher commented Jul 14, 2018

This is a rustup-like or choosenim-like installation process where the user doesn't need to have simple already installed on their system. Just a single command that does all the installation and/or update automatically.

The user just types a command into the terminal and simple gets installed or updated automatically. A seamless nice user experience.

The command is usually in this format.

curl https://sh.some-domain.com/install -sSf | sh

This means the shell script that gets run will be hosted on that site and the script will be responsible for downloading and installing simple on the user's system.

The first step here is to host an installer script online.

@appcypher appcypher changed the title Single Shell Command that Installs or Updates Simple Single Command Installer Jul 14, 2018
@Youngestdev
Copy link
Contributor

Great. I'll also be working on it.

@Youngestdev Youngestdev added enhancement New feature or request to-do An issue worthy of doing and looking into labels Jul 14, 2018
@Youngestdev
Copy link
Contributor

Youngestdev commented Jul 14, 2018

The online host could be a VPS, cloud server or even ftp. This is really a medium task 😃😃

@Thecarisma
Copy link
Contributor

Thecarisma commented Jul 14, 2018

simple-lang can be upgrade with

$ modular -u

The modular app will be responsible for modules install and upgrade too.
The upgrade feature as been tested with windows and a localhost and it works perfectly, will soon be tested on linux too.

@Youngestdev the online host is currently sourceforge.net as they provide a free web hosting package for project, it also allow statistic logging of project and also support cgi hosting, but that till the actual website is on.

Modular is the main feature that is to be very well done for the next release so a download of simple-lang wont be needed and the modular can do the upgrade and installation it self

@Thecarisma
Copy link
Contributor

For online script installer will be looked into it will be a nice way to install simple-lang without prior installation of simple-lang on the system such as using apt-get

@Thecarisma
Copy link
Contributor

i went over choosenim-like and the method is pretty straight forward, this issue will be taken over above other issues first and it will be resolve in few hours.
Learnt something new never know remote script could be executed

@Thecarisma Thecarisma self-assigned this Jul 14, 2018
@Youngestdev
Copy link
Contributor

Lol, not surprised you said this is new . You're a new Unix user 😃

@appcypher
Copy link
Contributor Author

Seems like everyone wants to work on it, but I see the task has been assigned to @Thecarisma.
@Thecarisma Do you have a Unix OS to test it on?

@Youngestdev
Copy link
Contributor

Well, he assigned it to himself.. He just installed an Ubuntu OS tho. If he can work on it, he can share it so we all test it instead of everyone working on it .
Your thoughts @appcypher ?

@appcypher
Copy link
Contributor Author

Makes sense

@Youngestdev
Copy link
Contributor

Great. 👍. I'm currently working on the docs 😃

@Thecarisma
Copy link
Contributor

@appcypher it will be greater if you can work on it as i am resolving other issue the reason i want to work on it was because it very important.

@appcypher
Copy link
Contributor Author

I will look into this. But I'm more interested in making simplebridge work with the vscode extension currently;

@Youngestdev
Copy link
Contributor

Then I'll try see if I can work with the installer.

@Youngestdev Youngestdev self-assigned this Jul 15, 2018
@Youngestdev Youngestdev added the on hold Issues which will be resolve after some time or after some requirement are met label Jul 18, 2018
@Youngestdev
Copy link
Contributor

There's an update on this from @Thecarisma. It'll be rolled out Publicly soon enough as it's under test

Cheers 🎉

@Thecarisma Thecarisma removed the on hold Issues which will be resolve after some time or after some requirement are met label Jul 18, 2018
@Thecarisma
Copy link
Contributor

The installer script has been created and tested on the OSes
Windows amd64 (curl mingw)
Ubuntu amd64 (curl)
Lubuntu i386 (curl)

simple lang can be installed from the terminal line using the following command

curl https://simple-lang.sourceforge.io/api/shinstall.sh -sSf | sh

@appcypher review

@appcypher
Copy link
Contributor Author

appcypher commented Sep 14, 2018

How is this going? This still doesn't work for Mac.

@Thecarisma
Copy link
Contributor

This work for Linux and Windows as tested, it has not been tested on MAC yet

@Thecarisma
Copy link
Contributor

You can craft out a new script for MAC

@Youngestdev
Copy link
Contributor

Youngestdev commented Sep 14, 2018 via email

@Youngestdev Youngestdev added the hacktoberfest Hacktober 2018 label Oct 11, 2018
@Thecarisma Thecarisma added this to the 0.4.0 milestone Oct 12, 2018
@Thecarisma Thecarisma removed this from the 0.4.0 milestone Mar 8, 2019
@Thecarisma Thecarisma added this to the 0.5.0 milestone Mar 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request hacktoberfest Hacktober 2018 to-do An issue worthy of doing and looking into
Projects
None yet
Development

No branches or pull requests

3 participants