These are chat archives for reactioncommerce/reaction

7th
Apr 2017
Bible Logos The Game
@biblelogosthegame
Apr 07 2017 00:19 UTC
@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 UTC
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 UTC
Unfortunately Meteor doesn’t allow you to access files that aren’t in the private directory.
Sami Baral
@imaslarab
Apr 07 2017 04:37 UTC
Thanks @spencern
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:44 UTC
Hi everyone !
I will test your repo right now :)
Brent Hoover
@zenweasel
Apr 07 2017 07:45 UTC
Hello
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:45 UTC
And I'm at stage « => Started MongoDB. »
But nothing more
Brent Hoover
@zenweasel
Apr 07 2017 07:46 UTC
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 UTC
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 UTC
If you aren’t in North America it can take a while longer
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:47 UTC
It's necessary to run my local mongod or reaction stack install one ?
Brent Hoover
@zenweasel
Apr 07 2017 07:48 UTC
Mongo is built into Meteor
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:48 UTC
ok
I imagine is possible to change configuration to set MongoDB from ours own MongoDB ?
Brent Hoover
@zenweasel
Apr 07 2017 07:49 UTC
that’s correct
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 07:49 UTC
:)
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 08:04 UTC
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 UTC
@reactioncommerce produce an error
Brent Hoover
@zenweasel
Apr 07 2017 08:26 UTC
if you have to any of that you have something wlse going on
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 08:33 UTC
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 UTC
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 UTC

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 UTC
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 UTC
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 UTC
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 UTC
Do you have your login?
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 09:56 UTC
Perfect!
I would to say « we'll be able to bring some correction for Windows »
Brent Hoover
@zenweasel
Apr 07 2017 10:01 UTC
Great
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:39 UTC
It's done : reactioncommerce/reaction#2092
Brent Hoover
@zenweasel
Apr 07 2017 10:46 UTC
Great, thanks
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:46 UTC
Good product
Brent Hoover
@zenweasel
Apr 07 2017 10:46 UTC
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 UTC
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 UTC
lame
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:49 UTC
because in Windows system the name of file must be unique
Brent Hoover
@zenweasel
Apr 07 2017 10:50 UTC
You can do reaction init <name-of-my-directory>
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:51 UTC
absolutly
And it's what the README.md invite you from now
Brent Hoover
@zenweasel
Apr 07 2017 10:51 UTC
but yeah, you wouldn’t know to do that
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:53 UTC
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 UTC
Right. We just don’t run across a lot of Windows people
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:55 UTC
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 UTC
That’s fair
hrath2015
@hrath2015
Apr 07 2017 10:56 UTC
@Haeresis when I do reaction init in windows it just works fine.
blob
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 10:59 UTC
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 UTC
me too same config.
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:01 UTC
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 UTC
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 UTC
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 UTC
try again in another directory going to root or C:/users/haresis
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:08 UTC
create a reaction file in directory
because from GitHub
hrath2015
@hrath2015
Apr 07 2017 11:08 UTC
you do not create anything
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:08 UTC
there is a reaction file
hrath2015
@hrath2015
Apr 07 2017 11:08 UTC
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 UTC
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 UTC
where do you see that?
hrath2015
@hrath2015
Apr 07 2017 11:13 UTC
I think u should not do that
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:13 UTC
yeah, but why not ?
Brent Hoover
@zenweasel
Apr 07 2017 11:13 UTC
reactioncommerce_reaction__Reaction_Commerce.png
hrath2015
@hrath2015
Apr 07 2017 11:14 UTC
that is the right sequence
Brent Hoover
@zenweasel
Apr 07 2017 11:14 UTC
what you are doing will install reaction inside a reaction install
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:15 UTC
So if I clone the directory
the sequence is
hrath2015
@hrath2015
Apr 07 2017 11:15 UTC
cloning part is already taken care of by cli
Brent Hoover
@zenweasel
Apr 07 2017 11:15 UTC
Don’t clone the directory
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:15 UTC
git clone https://github.com/reactioncommerce/reaction.git
cd reaction
npm install
reaction init
Ok
hrath2015
@hrath2015
Apr 07 2017 11:15 UTC
go to root and type reaction init
thats all you need
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:16 UTC
I understood why
hrath2015
@hrath2015
Apr 07 2017 11:16 UTC
u already have node, npm and reaction cli installed
and meteor of course
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:17 UTC
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 UTC
nope
Brent Hoover
@zenweasel
Apr 07 2017 11:18 UTC
The CLI is supposed to take care of all of that
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:18 UTC
yeah, it's what is done
Brent Hoover
@zenweasel
Apr 07 2017 11:18 UTC
reaction init ~== git clone + meteor npm install
Bruno J. S. Lesieur
@Haeresis
Apr 07 2017 11:18 UTC
I have no see the -g
All is clear for me at 13pm haha
Brent Hoover
@zenweasel
Apr 07 2017 11:19 UTC
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 UTC
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 UTC
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 UTC
:thumbsup:
Spartano
@Spartano
Apr 07 2017 20:35 UTC
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 UTC
@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