e-Template will
- make it easy for activists to find email templates applicable to the causes they want to support.
- make it easy for activists with or without a tech background to make customizable email templates.
- allow authors to see insights as to how much reach their published templates have had.
- Frontend access the website at: localhost:3000
- Backend access the website at: localhost:8080
Initialize this repo with heroku's git. You must be a collaborator and signed in on heroku for the e-template account to do this:
heroku git:remote -a e-template
there is a script called get_env_from_heroku.sh
in root/
.
npm install
chmod a+x get_env_from_heroku.sh
./get_env_from_heroku.sh
- if you only want to look at the front end, you can try:
cd client
npm install
npm run start
- if you want to test front and back end together locally, open two terminal windows one in
client/
folder and one inroot/
directory. - Run the following in the
root/
:
npm install
npm run demon
- Run the following in
client/
:
cd client
npm install
npm run start
- if you want to run it like heroku does (production build, will be slow to build)
npm install; cd client; npm install; npm run build; cd ..; npm start