SEPC is a bash script that creates an Erlang project.
Projects created with SEPC have 4 profiles: Test, Development, Stage, and Production.
Test profile used for Common Test or CT.
Development profile used for developing purposes. I use this profile for running projects on my PC.
Stage profile used for pre-deployment. Before I deploy a project in the production environment, I deploy it on stage and other staff use it for their purposes.
Production profile used for real deployment on production servers.
Use git command for downloading SEPC:
%git clone https://github.com/mohsenmoqadam/SEPC
go to SEPC directory:
%cd SEPC
Create your project:
%./sepc.sh app_name
Or:
%./sepc.sh app_name app_ver
%make proto
%make rel-dev
%make console-dev
%make rel-stage
take note of the last line, it informs you about Tarball path.
You can upload it on the stage environment.
%make rel-prod
take note of the last line, it informs you about Tarball path.
You can upload it to the production environment.