I am trying to setup Derby.js for Node on my Windows Machine. According to the Derby.js setup instructions, in order to use coffescript, I must do the following:
<
If you are looking for possible options, I actually have one which will utilize PowerShell. “Make” executes commands in the makefile so that is why I used PowerShell to accomplish similar tasks. However, be warned that I only did this for my Django project. Read below if this interests you and here is the sample:
# Bypass the execution policy (do this if needed)
Set-ExecutionPolicy RemoteSigned
# Setup variables
$proj = "proj"
$app = "app"
# Starting Virtual Environment
virtualenv $proj
cd .\$proj
.\Scripts\activate
# Install project
pip install --upgrade pip
pip install django
# Starting app
django-admin startproject $app
cd .\$app
# Build the project and the app
python .\manage.py makemigrations
python .\manage.py migrate
python .\manage.py createsuperuser
This is very handy at least for me so I don’t need to type all those commands over and over when creating new projects. Hope this helps.