-
Notifications
You must be signed in to change notification settings - Fork 0
Portal
Jia Huang edited this page Jun 12, 2014
·
12 revisions
#Portal Portal relies on several things:
- Discourse needs to have embedding set up so that comments can show up
- Tessel Oauth is used for all of the sign in, so those have to be pointed properly.
Portal runs on Digital Ocean. The stack is:
- Nginx
- Portal
- Postgres
- Redis
-
Bring up a new DO box (512MB works)
-
Run the following
apt-get update; apt-get install nodejs nodejs-legacy npm nginx postgresql postgresql-contrib
The postgres
user can use psql
to access the postgres database. Launch the postgres console via
sudo -u postgres psql -U postgres
-
Set up Nginx
-
Set up backups
-
Clone down the repo
-
Fill out the config envs or copy them over from another server
-
Run the db migrations
-
Set up Nginx, Postgres, Redis, and the node app to boot on startup.
-
Run the node app. Forever.
Now hit the server and you should see portal.