Arctic Scholar Portal
$ npm install
Now you can start the local development server with Broccoli:
$ broccoli serve
That's all. The server is now running at http://localhost:4200/.
This app is configured to run on Heroku-like platforms. This makes deployment as simple as a
git push. In this instance, we are using Dokku. In the following examples,
sarcee refers to an SSH alias for the cloud instance hosting the application.
Start by setting up a Dokku instance on a server. Once it is online, you should be able to add it as a remote repository, and tell Dokku the app's name is
$ git remote add dokku dokku@sarcee:arctic-scholar-portal
Next, push master to that remote host. Note that Dokku only supports receiving from master at this time.
$ git push dokku master
Dokku will then build and deploy a server, automatically restarting the existing instance if necessary. Any time you need to push a new version, just push to the dokku remote on git.
There are also some configuration options that may be useful with Dokku. For example, defining the default host:
$ ssh dokku@sarcee domains:add arctic-scholar-portal records.arcticconnect.ca records.arcticconnect.org arctic-scholar.gswlab.ca
This tells the nginx instance running in Dokku to redirect requests to http://arcticscholar.arcticconnect.ca to this Node.js server.
James Badger email@example.com