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

Enable Astrum to work when offline #48

Closed
raffomania opened this issue Aug 10, 2016 · 12 comments
Closed

Enable Astrum to work when offline #48

raffomania opened this issue Aug 10, 2016 · 12 comments
Assignees

Comments

@raffomania
Copy link

Tell us about the issue you are experiencing

When disconnecting from the internet, Astrum stops working because all the assets are loaded from CDNs.

What behaviour would you expect?

When offline, Astrum works as usual.

How can this issue be replicated?

Disconnect from the internet and load the application.

Screenshots / Screencast

http://i.imgur.com/CJZXz7L.png

Your environment

Platform: Arch Linux
OS Version: All packages up to date
Node Version: 6.3.1
NPM Version: 3.10.5
Astrum Version: 1.5.17

@matt-west
Copy link
Contributor

Hi @raffomania, I've added this to our roadmap.
https://github.com/NoDivide/astrum/wiki/Project-Roadmap

@raffomania
Copy link
Author

I could prepare a PR if you want. What do you think of a small function in manager/utils.js that downloads the correct versions when running astrum new or astrum update?

@RyanHavoc
Copy link
Member

@RyanHavoc
Copy link
Member

@raffomania The new version of Astrum (2.0.0) address this issue and now works offline. It's currently in pre-release and you can have a play with it now. Details here: https://github.com/NoDivide/astrum/releases/tag/2.0.0-rc.0

@raffomania
Copy link
Author

Awesome work, thanks!

@Madhu2911
Copy link

How to run an astrum file after creating the components?

@RyanHavoc
Copy link
Member

@Madhu2911 Could you clarify what you mean by your question please?

@Madhu2911
Copy link

using npm how to run astrum??
is this need any API to run?

@RyanHavoc
Copy link
Member

@Madhu2911 No, just install Astrum globally:

npm install -g astrum

And initialise an instance in your web project:

astrum init ./pattern-library

Usage instructions are here: https://github.com/NoDivide/astrum

@Madhu2911
Copy link

When I try to run I am getting error like this
npm ERR! missing script: start

@RyanHavoc
Copy link
Member

@Madhu2911 Do you want to open a new issue for this (as it's not related to this one) and provide the complete output?

@Madhu2911
Copy link

yeah

@RyanHavoc RyanHavoc changed the title Astrum does not work when offline Enable Astrum to work when offline Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants