joshmorel / sedaily-front-end

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

SEDaily Website

Web front end for the Software Engineering Daily application, a Vue.js project

Getting Started

See the companion project API required to run the web front end locally.

# cloning the project
git clone https://github.com/SoftwareEngineeringDaily/sedaily-front-end.git
cd sedaily-front-end/

# install dependencies
npm install

# serve with hot reload at localhost:8080, using API and event service API running locally
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run selenium tests (working)
npm run selenium-test

npm start

Note this is differnt than the stuff ran on heroku which is inside dist/package.json

For detailed explanation on Vue.js webpack configuration, checkout the guide and docs for vue-loader.

Available API environments

In order to speed up configuration, you can use the API and event stream API's in other environments:

# serve with hot reload at localhost:8080, using API running on staging
npm run dev:api-staging

# serve with hot reload at localhost:8080, using API running on production
npm run dev:api-prod

Install selenium web driver:

Download & Install Selenium Standalone Server (v3.6.0) http://www.seleniumhq.org/projects/webdriver/ http://www.seleniumhq.org/download/

Contributing

master branch is deployed to production develop branch gets pushed to staging

We have an active Slack community that you can reach out to for more information or just to chat with anyone. Check out the Slack Channel SED app development slack channel. Also see the Open Source Guide.

Pushing to Production

Remember to npm run build and then ** commit all new files** and then npm run deploy2 Works if done from master branch. To delete commit:

git fetch origin git reset --hard origin/master

About

License:MIT License


Languages

Language:Vue 68.0%Language:JavaScript 31.5%Language:HTML 0.4%Language:CSS 0.1%