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

README 0.14.0 #1169

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# used for CircleCI curl tests

reaction:
image: reactioncommerce/prequel
image: reactioncommerce/reaction:latest
links:
- mongo
ports:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ENV APP_BUNDLE_DIR "/var/www"
ENV BUILD_SCRIPTS_DIR "/opt/reaction"

# Install entrypoint and build scripts
COPY docker/scripts $BUILD_SCRIPTS_DIR
COPY .reaction/docker/scripts $BUILD_SCRIPTS_DIR

RUN chmod -R +x $BUILD_SCRIPTS_DIR

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ENV APP_BUNDLE_DIR "/var/www"
ENV BUILD_SCRIPTS_DIR "/opt/reaction"

# Install entrypoint and build scripts
COPY docker/scripts $BUILD_SCRIPTS_DIR
COPY .reaction/docker/scripts $BUILD_SCRIPTS_DIR

RUN chmod -R +x $BUILD_SCRIPTS_DIR

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ENV APP_BUNDLE_DIR "/var/www"
ENV BUILD_SCRIPTS_DIR "/opt/reaction"

# Install entrypoint and build scripts
COPY docker/scripts $BUILD_SCRIPTS_DIR
COPY .reaction/docker/scripts $BUILD_SCRIPTS_DIR

RUN chmod -R +x $BUILD_SCRIPTS_DIR

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ for plugins in "${PLUGIN_SUB_DIRS[@]}"; do
for dir in $(find ./imports/plugins/$plugins -mindepth 1 -maxdepth 1 -type d); do
if [[ -f "$dir/client/index.js" ]]; then
IMPORT_PATH=$(echo "$dir/client/index.js" | cut -c2-)
echo "import \"$IMPORT_PATH\"" >> $CLIENT_PLUGINS_FILE
echo "import \"$IMPORT_PATH\";" >> $CLIENT_PLUGINS_FILE
fi
if [[ -f "$dir/server/index.js" ]]; then
IMPORT_PATH=$(echo "$dir/server/index.js" | cut -c2-)
echo "import \"$IMPORT_PATH\"" >> $SERVER_PLUGINS_FILE
echo "import \"$IMPORT_PATH\";" >> $SERVER_PLUGINS_FILE
fi
if [[ -f "$dir/register.js" ]]; then
IMPORT_PATH=$(echo "$dir/register.js" | cut -c2-)
echo "import \"$IMPORT_PATH\"" >> $SERVER_PLUGINS_FILE
echo "import \"$IMPORT_PATH\";" >> $SERVER_PLUGINS_FILE
fi
done
done
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions .reaction/scripts/postinstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

############################################################
# This script runs automatically after every 'npm install' #
############################################################

# copy FontAwesome into project
cp -R node_modules/font-awesome/fonts ./public/

# setup plugin imports on client and server
bash .reaction/docker/scripts/plugin-loader.sh
File renamed without changes.
2 changes: 1 addition & 1 deletion Dockerfile
26 changes: 17 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ Reaction is built with JavaScript (ES6), Meteor, Node.js and works nicely with D

## Status

- 0.13.x Master ( [stable](https://github.com/reactioncommerce/reaction/tree/master) )
- 0.14.x Development ( [latest](https://github.com/reactioncommerce/reaction/tree/development) )

Reaction is expected to have a stable codebase ready for some production configurations within the next couple of major releases. Be aware though, that we're updating frequently. Even existing structures that are functionally done are getting frequent updates to ensure we're current with the most current libraries available to us.

Currently good for contributing, observing progress, and testing. We'd encourage due diligence in production usage, be very comfortable with the code, and risk tolerant. There are still many parts in development!

- Master ( [stable](https://github.com/reactioncommerce/reaction/tree/master) )
- Development ( [latest](https://github.com/reactioncommerce/reaction/tree/development) )

## Docs

Installation, configuration and development documentation is available on [docs.reactioncommerce.com](https://docs.reactioncommerce.com/)
Expand All @@ -21,16 +21,24 @@ The Reaction documentation source is located in the [reaction-docs](https://gith

## Installation

> Reaction requires [Meteor](https://www.meteor.com/install), [Node](http://nodejs.org/), [npm](https://www.npmjs.com/) and [ImageMagick](http://www.imagemagick.org/script/binary-releases.php)
> Reaction requires a recent version of [npm](https://www.npmjs.com/) installed.

```
npm i -g n
n stable
```

[ImageMagick](http://www.imagemagick.org/script/binary-releases.php) is optional, but required for transforming images for responsive sizing.

**Windows** users should review the [Windows specific installation requirements for Meteor and Reaction](https://docs.reactioncommerce.com/reaction-docs/development/requirements).

Developers using **Windows** should review the [Windows specific installation requirements for Meteor and Reaction](https://docs.reactioncommerce.com/reaction-docs/development/requirements).
_**reaction-cli installation:**_

```bash
curl https://install.meteor.com | /bin/sh # installs Meteor
git clone https://github.com/reactioncommerce/reaction.git
npm install -g reaction-cli
reaction init
cd reaction
meteor npm install
./reaction
reaction
```

Additional setup options, such as how to set the default credentials, can be found in the [installation](https://docs.reactioncommerce.com/reaction-docs/development/installation) and [configuration documentation](https://docs.reactioncommerce.com/reaction-docs/development/configuration).
Expand Down
10 changes: 0 additions & 10 deletions bin/check-settings

This file was deleted.

10 changes: 0 additions & 10 deletions bin/deploy

This file was deleted.

2 changes: 0 additions & 2 deletions bin/docker/.gitignore

This file was deleted.

48 changes: 0 additions & 48 deletions bin/docker/build-bundle.sh

This file was deleted.

15 changes: 0 additions & 15 deletions bin/docker/build-meteor.sh

This file was deleted.

27 changes: 0 additions & 27 deletions bin/docker/entrypoint.sh

This file was deleted.

15 changes: 0 additions & 15 deletions bin/docker/install-graphicsmagick.sh

This file was deleted.

14 changes: 0 additions & 14 deletions bin/docker/install-mongodb.sh

This file was deleted.

46 changes: 0 additions & 46 deletions bin/dump

This file was deleted.

10 changes: 0 additions & 10 deletions bin/env.sh

This file was deleted.

14 changes: 0 additions & 14 deletions bin/reset

This file was deleted.

30 changes: 0 additions & 30 deletions bin/run

This file was deleted.

Loading