-
Notifications
You must be signed in to change notification settings - Fork 1
01) Getting Started
- Download technologies
First, download the environment and database used in our application.
Node.js version v5.8.0 – visit https://nodejs.org/en/
MongoDB version v3.2.4 – visit https://www.mongodb.org/downloads#production
- Download and install Git
Next, get the necessary files from GitHub. To do that, you will need to install Git.
Git version 2.7.3 – visit https://git-scm.com/downloads
- Clone files from server
After installing Git, to get the files from the server, do the following:
Open the Git terminal.
Navigate to the directory where you want the files saved.
git clone https://github.com/aframr/EmissaryWST.git
- Running the file
First, you want to run the server for MongoDB to store local data to the database. While you have MongoDB running on the background, you can start to preview locally on what the app looks like and its features.
#####Setting up MongoDB for Windows: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
- On your CMD (command shell) , enter the commands:
cd \MongoDB\Server\3.2\bin
mongod.exe --dbpath C:\MongoDB\Server\3.2\data\db
#####For Window Users, do the following:
After you have MongoDB running on the background, you can start running the front-end.
- Run
npm install -g gulp bower foreman, make sure you are in the WebStormTroopers repo dir - Run
npm install, make sure you are in the WebStormTroopers repo dir - Run
gulp build:devto compile front-end and back-end - Open up Git and type the command:
nf start web
Note: Windows terminal will need administrator rights.
#####Setting up MongoDB for Macs:
sudo mkdir -p /datasudo mkdir -p /data/dbsudo chown ‘username’ /data/db
Run:
mongod
mongo
Note: mongod and mongo must be run in separate terminal windows. Be sure to run mongod first.
#####For Mac Users, do the following: After you have MongoDB running on the background, you can start running the front-end.
- Run
npm install -g gulp bower foreman, make sure you are in the WebStormTroopers repo dir - Run
npm install, make sure you are in the WebStormTroopers repo dir - Run
gulp build:devto compile front-end and back-end - Open up Git and type the command:
nf start web
Note: For other ways of running the application, please refer to the Gulp Tasks page.