Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drewmoore/portfolio
https://github.com/drewmoore/portfolio
express mocha mongodb nodejs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/drewmoore/portfolio
- Owner: drewmoore
- Created: 2014-07-06T22:55:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T05:10:18.000Z (over 6 years ago)
- Last Synced: 2024-04-14T23:12:13.265Z (9 months ago)
- Topics: express, mocha, mongodb, nodejs
- Language: JavaScript
- Size: 3.18 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`