Stepup Messenger is a Messenging Community App Built for Step Up Womens Network
- Apache HTTP Server
- MySQL Server
- PHP >5.2
- Git
- Composer
- Node
You will need to setup a local *AMP enviroment (Apache, MySQL and PHP) in order to test StepUp Messenger. *AMP packages can be found for different platforms:
You will need Git to keep your test version of StepUp up to date. Unless you already have Git installed, you can download it from here.
Create a directory named "step_up" in the www root. Next, open the directory in the terminal and type:
$ git init
$ git clone https://github.com/jel-massih/step_up
StepUp uses composer to handle its php dependencies. Go to the step_up/api/
folder and install composer:
$ curl -s https://getcomposer.org/installer | php
Then install the dependencies by executing:
$ php composer.phar install
The AMP-packages listed above all include Phpmyadmin. The following three steps need to be completed in order to setup the database
- Create the database
- Databases -> Create Database
- Type hackaccounts as name and select utf8_general_ci as Collation. (Dont judge the name)
- Create a user
- Once you've created the database it will be visible in the left column – open it by clicking it.
- Privileges -> Add user
- Fill in username and password. Leave the other fields as defaults.
- Import the database schema
- Import->File to Import->Choose file
- Open step_up/Dump20140209.sql
- Press Go
Open step_up/API/lib/db.setup.php
Add the database username and password from Step 5 to db_link. Save the file as step_up/API/lib/db.php
db_link
Navigate to the /public_site folder
# Install global dependencies. Depending on your user account you may need to
# gain elevated privileges using something like `sudo`.
npm install -g grunt-cli bower
# Optionally install coveralls (integration is baked in with Travis CI).
npm install -g coveralls
# Install NPM dependencies.
npm install
# Install Bower dependencies.
bower install
Open StepUp App by navigating to the path step_up/public_site in your local host. Log in using the default user admin@admin.com and password admin123