Skip to content

CSUF-ACM/acmwebsite

 
 

Repository files navigation

README

Build Status

Prerequisites

How to Build

Dev

In a terminal, navigate to the repository and execute this command:

  • npm install && npm start

A browser will launch and open the website. You can now begin development! Any changes made to the website will update automatically, no need to rebuild.

Production

To create an optimized production build, run this command:

  • npm run build

Or, in VSCode:

  • Mac: ⌘ + SHIFT + B
  • Windows: CTRL + SHIFT + B

This generates the build folder, which contains the files you will deploy to the server to be published for all to see! 👀

Deployment

Artifacts are automatically deployed to the server upon a successful build by TravisCI. For most use cases, this process is completely automated.

Server URL and credentials are stored as environment variables in TravisCI.

To replicate build deployment locally, simply add the necessary values to your env by executing these commands in a bash terminal (or add to your shell initialization script):

export SERVER_URL=<server url>

export SERVER_USER=<server user>

export SERVER_PASS=<server pass>

and then run:

bash scripts/deploy.sh

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.7%
  • HTML 3.3%
  • CSS 2.9%
  • Shell 0.1%