These are chat archives for reactioncommerce/reaction

7th
Apr 2017
Bible Logos The Game
@biblelogosthegame
Apr 07 2017 00:19
@carlos-olivera @spencern you both seem to be more experienced Reaction users; have you seen server output or errors like mine?
l0qii
@l0qii
Apr 07 2017 03:39
can I put my custom data in a separate plugin and load it from there rather than copying it into /private/data in the base reaction project?
Also not clear on the use case difference between Reaction.import and LoadSettings
Brent Hoover
@zenweasel
Apr 07 2017 03:45
Unfortunately Meteor doesn’t allow you to access files that aren’t in the private directory.
Sami Baral
@imaslarab
Apr 07 2017 04:37
Thanks @spencern
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:44
Hi everyone !
I will test your repo right now :)
Brent Hoover
@zenweasel
Apr 07 2017 07:45
Hello
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:45
And I'm at stage « => Started MongoDB. »
But nothing more
Brent Hoover
@zenweasel
Apr 07 2017 07:46
it takes a while to start the first time because it’s downloading all the dependencies
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:46
Ok. Just a « please wait, all depe, bla bla » message should be a good thing I think
Brent Hoover
@zenweasel
Apr 07 2017 07:47
If you aren’t in North America it can take a while longer
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:47
It's necessary to run my local mongod or reaction stack install one ?
Brent Hoover
@zenweasel
Apr 07 2017 07:48
Mongo is built into Meteor
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:48
ok
I imagine is possible to change configuration to set MongoDB from ours own MongoDB ?
Brent Hoover
@zenweasel
Apr 07 2017 07:49
that’s correct
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:49
:)
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 08:04
Meteor is build on top of Node.js ?
And is not a dependency of npm as all common Node.js framework? Right?
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 08:16
@reactioncommerce produce an error
Brent Hoover
@zenweasel
Apr 07 2017 08:26
if you have to any of that you have something wlse going on
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 08:33
It's not the job of reaction init command to install all others things?
Because first time I try reaction init, CLI said me meteor is not installed so I have install Meteor and after used reaction init another time I got a message said something already installed.
Brent Hoover
@zenweasel
Apr 07 2017 08:42
Yeah, that’s what I would suggest as you should not need to install anything beyond what’s specified here: https://docs.reactioncommerce.com/reaction-docs/master/requirements
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 09:17

So I have used reaction init hello-world. Maybe change README.md and say

## Installation

**_requirements_**

- Node.js (v4 or higher)
- Meteor

For more information on requirements check out the [requirements](https://docs.reactioncommerce.com/reaction-docs/master/requirements).

**_reaction-cli installation_**

```bash
npm install -g reaction-cli
reaction init my-reaction-app
cd my-reaction-app
reaction

For more information on setup and configuration, check out the installation and configuration docs.

Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 09:30
So the problem is the following:
There is a file named reaction. This file not allows Window to use reaction init because the default name for directory is reaction and on Windows system is not possible to have difference between reaction file and reaction directory.
But, if you have not Meteor installed, you are not able to understand this problem. You think all is installed and you need just install Meteor. When you try another time reaction init the message said reaction directory already exist.
Brent Hoover
@zenweasel
Apr 07 2017 09:50
Yeah, that could be clearer. Installing the conmmand-line tool does take away a lot of the requirements but not Node and Meteor
Honestly Windows does get the short end of the stick sometimes because none of us run on Windows
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 09:51
No problem. But a great app is a multiplateform app :)
We study the possibility to use reactioncommerce for all our futur e-commerce realisation so we'll be able to bring some correction for Windows user by PR or issue
Ok. All run without problem
To see the admin part, I can do what ? I try to find that in documentation. The documentation talk about a blue title to click but it is if I am not logged I cannot see that ?
Brent Hoover
@zenweasel
Apr 07 2017 09:55
Do you have your login?
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 09:56
Perfect!
I would to say « we'll be able to bring some correction for Windows »
Brent Hoover
@zenweasel
Apr 07 2017 10:01
Great
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:39
It's done : reactioncommerce/reaction#2092
Brent Hoover
@zenweasel
Apr 07 2017 10:46
Great, thanks
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:46
Good product
Brent Hoover
@zenweasel
Apr 07 2017 10:46
so if you type reaction Windows thinks that;s a directory and not a command?
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:47
We will investigate more and provide some PR (and I think some French label translation)
No if you type reaction window knows you want reaction.exe or reaction.cmd so all work fine. But If you type reaction init by default the directory for installation should be reaction but CLI check if directory already exist before installation and I thinks the reaction file is a directory. So a rapid way to avoid this is just to add a custom name, that's explain the new README.md. For the « bug » I have open an Issue.
Brent Hoover
@zenweasel
Apr 07 2017 10:49
lame
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:49
because in Windows system the name of file must be unique
Brent Hoover
@zenweasel
Apr 07 2017 10:50
You can do reaction init <name-of-my-directory>
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:51
absolutly
And it's what the README.md invite you from now
Brent Hoover
@zenweasel
Apr 07 2017 10:51
but yeah, you wouldn’t know to do that
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:53
Because REAME.md is for « discovering » people, if the app not work in couple of minutes, « discoverer » try another solution in Internet so It's important to allows us to quickly test a correct configuration.
Brent Hoover
@zenweasel
Apr 07 2017 10:53
Right. We just don’t run across a lot of Windows people
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:55
Another problem for me is the message delivering admin email/password was too above and not in my visual (eyes?) field. Maybe provide this information later in the flow will be a great things but it's not a big problem, more a sugestion.
Brent Hoover
@zenweasel
Apr 07 2017 10:56
That’s fair
hrath2015
@hrath2015
Apr 07 2017 10:56
@Haeresis when I do reaction init in windows it just works fine.
blob
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:59
I'm on Windows 10
blob
64 bit I think
I will upgrade my PR/issue with more information
hrath2015
@hrath2015
Apr 07 2017 11:01
me too same config.
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:01
I use Node.js v7
with npm v3
you have the reaction file ?
in your directory ?
Because if I remove it
after that command will run without problem
hrath2015
@hrath2015
Apr 07 2017 11:06
when you do reaction init it creates directory named reaction which has no subfolder named reaction.
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:07
Yeah but not in my case, see my screenshare, I have the reaction file and it's impossible to have reaction directory in same time as reaction file
hrath2015
@hrath2015
Apr 07 2017 11:07
try again in another directory going to root or C:/users/haresis
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:08
create a reaction file in directory
because from GitHub
hrath2015
@hrath2015
Apr 07 2017 11:08
you do not create anything
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:08
there is a reaction file
hrath2015
@hrath2015
Apr 07 2017 11:08
reaction-cli will automatically takes care of it
try deleting everything and start over you should not see the problem
hopefully.
sometimes windows is full of surprises.
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:12
Ok I will delete all
and follow this step
git clone https://github.com/reactioncommerce/reaction.git
cd reaction
npm install -g reaction-cli
reaction init
Brent Hoover
@zenweasel
Apr 07 2017 11:13
where do you see that?
hrath2015
@hrath2015
Apr 07 2017 11:13
I think u should not do that
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:13
yeah, but why not ?
Brent Hoover
@zenweasel
Apr 07 2017 11:13
reactioncommerce_reaction__Reaction_Commerce.png
hrath2015
@hrath2015
Apr 07 2017 11:14
that is the right sequence
Brent Hoover
@zenweasel
Apr 07 2017 11:14
what you are doing will install reaction inside a reaction install
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:15
So if I clone the directory
the sequence is
hrath2015
@hrath2015
Apr 07 2017 11:15
cloning part is already taken care of by cli
Brent Hoover
@zenweasel
Apr 07 2017 11:15
Don’t clone the directory
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:15
git clone https://github.com/reactioncommerce/reaction.git
cd reaction
npm install
reaction init
Ok
hrath2015
@hrath2015
Apr 07 2017 11:15
go to root and type reaction init
thats all you need
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:16
I understood why
hrath2015
@hrath2015
Apr 07 2017 11:16
u already have node, npm and reaction cli installed
and meteor of course
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:17
Yeah yeah all is clear. It's because « normally » I not install a new website directly into the reactioncommerce installation
And I have no needed to copy it from github first
hrath2015
@hrath2015
Apr 07 2017 11:17
nope
Brent Hoover
@zenweasel
Apr 07 2017 11:18
The CLI is supposed to take care of all of that
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:18
yeah, it's what is done
Brent Hoover
@zenweasel
Apr 07 2017 11:18
reaction init ~== git clone + meteor npm install
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:18
I have no see the -g
All is clear for me at 13pm haha
Brent Hoover
@zenweasel
Apr 07 2017 11:19
Lol, great. Actually one of the main reasons we wrote the CLI was to make it easier for WIndows users.
hrath2015
@hrath2015
Apr 07 2017 11:19
there are some very useful command line option u can check out using reaction --help
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:37
So I have removed the issue and just provide the README.md I think is a good starting point for quick solution test
Yeah the documentation is complete
hrath2015
@hrath2015
Apr 07 2017 11:40
:thumbsup:
Spartano
@Spartano
Apr 07 2017 20:35
hello, i just begin learning you're code and was wondering if it is possible to create a local market where each farmer is an admin that can post only items with his name-tag
Aaron Judd
@aaronjudd
Apr 07 2017 21:49
@Spartano sounds like you are looking for marketplace functionality. There’s a chat room specifically for this: https://gitter.im/reactioncommerce/marketplace and the in progress work is labeled so you can track the issues/progress https://github.com/reactioncommerce/reaction/labels/marketplace