Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drewmoore/portfolio


https://github.com/drewmoore/portfolio

express mocha mongodb nodejs

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

My Portfolio
============

The code behind my professional profile site.
---------------------------------------------

## Environment Variables
- run command `export PORTFOLIO_ENV=...`
- gitignored .env file with the following:
- `MAILGUN`: Mailgun API key
- `DBNAME`

## Get it Running
- `nvm install`
- `nvm use`

- `yarn install`
- `sudo mongod --fork --logpath /var/log/mongodb/mongod.log`
- `sudo systemctl enable redis-server`
- `sudo systemctl start redis-server`

- `echo '127.0.1.1 portfolio' | sudo tee --append /etc/hosts`
- `sudo cp ./deploy/portfolio.conf /etc/nginx/conf.d/`
- `sudo service nginx stop`
- `sudo service nginx start`

- `nvm exec npm start`

## NPM scripts
Preface with `nvm exec`